瀏覽代碼

修正无法传递时间

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>