Browse Source

新需求

傅行帆 5 years ago
parent
commit
9457557123
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resources/mapper/TaSalesBatchMapper.xml

+ 1
- 1
src/main/resources/mapper/TaSalesBatchMapper.xml View File

@@ -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}