|
@@ -47,6 +47,7 @@
|
|
left join t_b_device_in_out io on io.service_id=s.id
|
|
left join t_b_device_in_out io on io.service_id=s.id
|
|
left join sys_device d on d.device_code=io.device_no
|
|
left join sys_device d on d.device_code=io.device_no
|
|
<where>
|
|
<where>
|
|
|
|
+ and s.status !='FINISH'
|
|
<if test="dpr != null and !dpr.hasAdmin and !dpr.hasPmo">
|
|
<if test="dpr != null and !dpr.hasAdmin and !dpr.hasPmo">
|
|
<if test="dpr.hasBusiness">
|
|
<if test="dpr.hasBusiness">
|
|
AND s.service_lead_id = #{dpr.requestUserId}
|
|
AND s.service_lead_id = #{dpr.requestUserId}
|
|
@@ -67,6 +68,7 @@
|
|
left join t_b_device_in_out io on io.service_id=s.id
|
|
left join t_b_device_in_out io on io.service_id=s.id
|
|
left join sys_device d on d.device_code=io.device_no
|
|
left join sys_device d on d.device_code=io.device_no
|
|
<where>
|
|
<where>
|
|
|
|
+ and s.status !='FINISH'
|
|
<if test="dpr != null and !dpr.hasAdmin and !dpr.hasPmo">
|
|
<if test="dpr != null and !dpr.hasAdmin and !dpr.hasPmo">
|
|
<if test="dpr.hasBusiness">
|
|
<if test="dpr.hasBusiness">
|
|
AND s.service_lead_id = #{dpr.requestUserId}
|
|
AND s.service_lead_id = #{dpr.requestUserId}
|