Przeglądaj źródła

供应链修改

yumeng 2 lat temu
rodzic
commit
51ac39d629

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

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