瀏覽代碼

认领sql

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

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

@@ -786,7 +786,7 @@
             and t1.item_id = #{itemId}
         </if>
         <if test="itemTitle != null and itemTitle != ''">
-            and t1.item_title like concat(concat('%',#{itemTitle}),'%')
+            and t2.item_title like concat(concat('%',#{itemTitle}),'%')
         </if>
         GROUP BY
         t1.item_id