1
This commit is contained in:
parent
7259ae143e
commit
00a8fdc694
@ -54,7 +54,7 @@
|
|||||||
from dl_ticket_wares dtw
|
from dl_ticket_wares dtw
|
||||||
left join dl_repair_tickets drt
|
left join dl_repair_tickets drt
|
||||||
on dtw.ticket_id = drt.id
|
on dtw.ticket_id = drt.id
|
||||||
where dtw.deleted = '0' AND dtw.is_end='0'
|
where dtw.deleted = '0'
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="getPage" resultMap="BaseResultMap">
|
<select id="getPage" resultMap="BaseResultMap">
|
||||||
@ -104,6 +104,9 @@
|
|||||||
<if test="map.adviserId != null and map.adviserId != ''">
|
<if test="map.adviserId != null and map.adviserId != ''">
|
||||||
and (dtw.adviser_id = #{map.adviserId})
|
and (dtw.adviser_id = #{map.adviserId})
|
||||||
</if>
|
</if>
|
||||||
|
<if test="map.userRole == 5 and map.isBack != true">
|
||||||
|
AND (dtw.is_end='0')
|
||||||
|
</if>
|
||||||
order by dtw.create_time desc
|
order by dtw.create_time desc
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user