feat:调整查询sql

This commit is contained in:
gyb 2026-02-26 15:42:17 +08:00
parent 9f14494575
commit c2145cf08e
1 changed files with 1 additions and 1 deletions

View File

@ -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
<where>
<if test="userId != null">
and af.user_id = #{userId}
and afg.user_id = #{userId}
</if>
<if test="name != null and name != ''">
and af.name like concat('%', #{name}, '%')