yumeng 1 年之前
父節點
當前提交
1cb8e14716
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ruixuan-live/src/main/resources/mapper/isc/SupplyChainMapper.xml

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

@@ -213,10 +213,10 @@
         group by item_id) t2 on t1.itemId = t2.itemId
         where 1 = 1
         <if test="itemId != null and itemId != ''">
-            and t1.item_id = #{itemId}
+            and t1.itemId = #{itemId}
         </if>
         <if test="itemTitle != null and itemTitle != ''">
-            and t1.item_title like concat(concat('%',#{itemTitle}),'%')
+            and t1.itemTitle like concat(concat('%',#{itemTitle}),'%')
         </if>
         <if test="userId != null and userId != ''">
             and t1.userId = #{userId}