2 Commits 6552298b1e ... 4d5c14bcca

Author SHA1 Message Date
  zhangc 4d5c14bcca Merge remote-tracking branch 'origin/dev1.0' into dev1.0 4 months ago
  zhangc d0c6795904 验收单 模糊搜索 4 months ago

+ 1 - 1
src/main/resources/mapper/acceptancesheet/AcceptanceBasicInfoMapper.xml

@@ -155,7 +155,7 @@
                 AND t2.acceptance_status = #{status}
             </if>
             <if test="searchNumber !=null and searchNumber !='' ">
-                AND t2.business_number like CONCAT('%',#{searchNumber},'%')
+                AND ( t2.business_number like CONCAT('%',#{searchNumber},'%') or t2.acceptance_number like CONCAT('%',#{searchNumber},'%') )
             </if>
         </where>
         GROUP BY t1.busness_key,t2.gmt_create