feat:调整查询sql
This commit is contained in:
parent
9f14494575
commit
c2145cf08e
|
|
@ -128,7 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join airline_file_group afg on afgi.group_id = afg.group_id and afg.del_flag = 0
|
left join airline_file_group afg on afgi.group_id = afg.group_id and afg.del_flag = 0
|
||||||
<where>
|
<where>
|
||||||
<if test="userId != null">
|
<if test="userId != null">
|
||||||
and af.user_id = #{userId}
|
and afg.user_id = #{userId}
|
||||||
</if>
|
</if>
|
||||||
<if test="name != null and name != ''">
|
<if test="name != null and name != ''">
|
||||||
and af.name like concat('%', #{name}, '%')
|
and af.name like concat('%', #{name}, '%')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue