소스 검색

新需求

傅行帆 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}