This commit is contained in:
Vinjor 2025-01-13 16:22:05 +08:00
parent 7259ae143e
commit 00a8fdc694

View File

@ -54,7 +54,7 @@
from dl_ticket_wares dtw
left join dl_repair_tickets drt
on dtw.ticket_id = drt.id
where dtw.deleted = '0' AND dtw.is_end='0'
where dtw.deleted = '0'
</sql>
<select id="getPage" resultMap="BaseResultMap">
@ -104,6 +104,9 @@
<if test="map.adviserId != null and map.adviserId != ''">
and (dtw.adviser_id = #{map.adviserId})
</if>
<if test="map.userRole == 5 and map.isBack != true">
AND (dtw.is_end='0')
</if>
order by dtw.create_time desc
</select>
</mapper>