Selaa lähdekoodia

修正无法传递时间

y 2 vuotta sitten
vanhempi
commit
878aac26e2
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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>