Browse Source

修正无法传递时间

y 2 năm trước cách đây
mục cha
commit
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>