浏览代码

供应链修改

yumeng 2 年之前
父节点
当前提交
51ac39d629
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

+ 4 - 4
ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

@@ -140,16 +140,16 @@
         on t1.item_id = t2.item_id
         where 1 = 1
         <if test="start != null and start != ''">
-            and order_create_time &gt;= #{start}
+            and t1.order_create_time &gt;= #{start}
         </if>
         <if test="end != null and end != ''">
-            and order_create_time &lt;= #{end}
+            and t1.order_create_time &lt;= #{end}
         </if>
         <if test="itemId != null and itemId != ''">
-            and item_id = #{itemId}
+            and t1.item_id = #{itemId}
         </if>
         <if test="itemTitle != null and itemTitle != ''">
-            and item_title like concat(concat('%',#{itemTitle}),'%')
+            and t1.item_title like concat(concat('%',#{itemTitle}),'%')
         </if>
         group by t1.item_id) t
         where 1 = 1