Explorar o código

修正无法传递时间

y %!s(int64=2) %!d(string=hai) anos
pai
achega
878aac26e2

+ 2 - 2
src/main/resources/mapper/modules/order/InsOrdersMapper.xml

@@ -374,10 +374,10 @@
            and b.orderstatus = #{orderstatus}
         </if>
         <if test="startDate != null and startDate != '' ">
-            and a.createtime > #{startDate}
+            and a.createtime &gt;= #{startDate}
         </if>
         <if test="endDate != null and endDate != '' ">
-            and #{endDate} > a.endDate
+            and a.endDate &lt;= #{endDate}
         </if>
     </select>