فهرست منبع

修正无法传递时间

y 2 سال پیش
والد
کامیت
878aac26e2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/main/resources/mapper/modules/order/InsOrdersMapper.xml

+ 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>