浏览代码

新需求

傅行帆 5 年前
父节点
当前提交
9457557123
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/resources/mapper/TaSalesBatchMapper.xml

+ 1
- 1
src/main/resources/mapper/TaSalesBatchMapper.xml 查看文件

@@ -18,7 +18,7 @@
18 18
             and t.building_id = #{buildingId}
19 19
         </if>
20 20
         <if test="salesBatchName != null and salesBatchName != ''">
21
-            and t.sales_batch_name = #{salesBatchName}
21
+            and t.sales_batch_name like CONCAT('%',#{salesBatchName}, '%')
22 22
         </if>
23 23
         <if test="status != null">
24 24
             and t.status = #{status}