Browse Source

问题修改

zhs 2 years ago
parent
commit
fe288805a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/QueryListMappeer.xml

+ 1 - 1
src/main/resources/mapper/QueryListMappeer.xml

@@ -140,7 +140,7 @@
                 and a.supplier_id like CONCAT(CONCAT('%', #{supplierId}), '%')
                 and a.supplier_id like CONCAT(CONCAT('%', #{supplierId}), '%')
             </if>
             </if>
             <if test="wbs != null and wbs != ''">
             <if test="wbs != null and wbs != ''">
-                and a.wbs like CONCAT(CONCAT('%', #{wbs}), '%')
+                and a.wbs = #{wbs}
             </if>
             </if>
             <if test="wbsName != null and wbsName != ''">
             <if test="wbsName != null and wbsName != ''">
                 and h.name like CONCAT(CONCAT('%', #{wbsName}), '%')
                 and h.name like CONCAT(CONCAT('%', #{wbsName}), '%')