Procházet zdrojové kódy

验收单 模糊搜索

zhangc před 5 měsíci
rodič
revize
d0c6795904

+ 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