傅行帆 il y a 5 ans
Parent
révision
9457557123
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/main/resources/mapper/TaSalesBatchMapper.xml

+ 1
- 1
src/main/resources/mapper/TaSalesBatchMapper.xml Voir le fichier

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