This commit is contained in:
mashuai 2024-04-29 18:43:22 +08:00
parent d1ed28a088
commit 88ac035ed7
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN bm_unit_info bui ON bui.unit_id = bai.unit_id LEFT JOIN bm_unit_info bui ON bui.unit_id = bai.unit_id
where bai.status = '1' where bai.status = '1'
<if test="keyWord != null and keyWord != ''"> <if test="keyWord != null and keyWord != ''">
and bai.contract_code like concat('%', #{keyWord}, '%') and (bai.contract_code like concat('%', #{keyWord}, '%') or
auth_person like concat('%', #{keyWord}, '%') or
phone like concat('%', #{keyWord}, '%'))
</if> </if>
<if test="agreementCode != null and agreementCode != ''"> <if test="agreementCode != null and agreementCode != ''">