feat:调整查询sql
This commit is contained in:
parent
cc559f4cb1
commit
9f14494575
|
|
@ -127,7 +127,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
left join airline_file_group_info afgi on af.id = afgi.airline_id and afgi.del_flag = 0
|
left join airline_file_group_info afgi on af.id = afgi.airline_id and afgi.del_flag = 0
|
||||||
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>
|
||||||
af.del_flag = 0
|
|
||||||
<if test="userId != null">
|
<if test="userId != null">
|
||||||
and af.user_id = #{userId}
|
and af.user_id = #{userId}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue