This commit is contained in:
马三炮 2025-06-10 17:01:36 +08:00
parent 2cac10c2ac
commit 303327cfae
1 changed files with 2 additions and 2 deletions

View File

@ -75,8 +75,8 @@
left join tb_tower tt on tct.tower_id = tt.id
where tct.pro_id = #{proId} and tct.is_active = '1'
<if test="keyWord != '' and keyWord != null">
and tt.tower_name like concat('%',#{keyWord},'%')
or tct.name like concat('%',#{keyWord},'%')
and (tt.tower_name like concat('%',#{keyWord},'%')
or tct.name like concat('%',#{keyWord},'%'))
</if>
<if test="sourceType != '' and sourceType != null">
and tct.source_type = #{sourceType}