修改帮助管理与协议管理的查询为模糊查询

This commit is contained in:
little-cat-sweet 2021-08-03 20:27:57 +08:00
parent bdafb64491
commit 0538018e92
2 changed files with 4 additions and 4 deletions

View File

@ -45,10 +45,10 @@
from xhpc_agreement
where del_flag=0
<if test="title!=null and title!=''">
and title=#{title}
and title like concat('%',#{title},'%')
</if>
<if test="createBy!=null and createBy!=''">
and create_by=#{createBy}
and create_by like concat('%',#{createBy},'%')
</if>
<if test="type!=null">
and type=#{type}

View File

@ -42,10 +42,10 @@
select * from xhpc_help
where del_flag=0
<if test="title!=null and title!=''">
and title=#{title}
and title like concat('%',#{title},'%')
</if>
<if test="createBy!=null and createBy!=''">
and create_by=#{createBy}
and create_by like concat('%',#{createBy},'%')
</if>
<if test="type!=null">
and type=#{type}