傅行帆 před 5 roky
rodič
revize
9457557123

+ 1
- 1
src/main/resources/mapper/TaSalesBatchMapper.xml Zobrazit soubor

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