bug:bug修复
This commit is contained in:
parent
fc0e317432
commit
bd79084fa0
|
|
@ -20,16 +20,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
|
||||
<!-- 查询分组详情列表 -->
|
||||
<select id="selectGroupList" parameterType="com.ruoyi.airline.mapper.entity.AirlineFileGroupInfoEntity" resultMap="AirlineFileGroupInfoResult">
|
||||
select id, group_id, airline_id, create_by, create_time, update_by, update_time, del_flag, deleted_by, deleted_time
|
||||
from airline_file_group_info
|
||||
where del_flag = 0
|
||||
select afgi.id, afgi.group_id, afgi.airline_id, afgi.create_by, afgi.create_time, afgi.update_by, afgi.update_time, afgi.del_flag, afgi.deleted_by, afgi.deleted_time
|
||||
from airline_file_group_info afgi
|
||||
inner join airline_file af on afgi.airline_id = af.id
|
||||
where afgi.del_flag = 0
|
||||
<if test="groupId != null">
|
||||
and group_id = #{groupId}
|
||||
and afgi.group_id = #{groupId}
|
||||
</if>
|
||||
<if test="airlineId != null">
|
||||
and airline_id = #{airlineId}
|
||||
and afgi.airline_id = #{airlineId}
|
||||
</if>
|
||||
order by update_time ASC
|
||||
order by af.update_time desc
|
||||
</select>
|
||||
|
||||
<!-- 删除分组详情(软删除) -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue