傅行帆 преди 5 години
родител
ревизия
9457557123
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      src/main/resources/mapper/TaSalesBatchMapper.xml

+ 1
- 1
src/main/resources/mapper/TaSalesBatchMapper.xml Целия файл

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