|
|
|
@ -2490,7 +2490,7 @@ |
|
|
|
left join eam_defect b on a.DefectID = b.DefectID |
|
|
|
left join eam_object c on a.ObjectID = c.ObjectID and a.site = c.site and a.bu_no = c.bu_no |
|
|
|
<where> |
|
|
|
a.site = #{site} and a.deleteFlag = 'N' and a.bu_no = #{buNo} |
|
|
|
a.site = #{site} and a.deleteFlag = 'N' and a.bu_no = #{buNo} and a.repair_type = #{repairType} |
|
|
|
<if test="feedBackID != null and feedBackID != ''"> |
|
|
|
AND a.FeedBackID LIKE '%' + #{feedBackID}+'%' |
|
|
|
</if> |
|
|
|
@ -3769,4 +3769,12 @@ |
|
|
|
rs.site = #{site} and rs.bu_no = #{buNo} |
|
|
|
and rs.resource_id = #{objectID} and rs.part_no = #{partNo} and ps.coreFlag = 'Y' |
|
|
|
</select> |
|
|
|
<select id="getConfirmButtonOperator" resultType="com.xujie.sys.modules.pms.data.EamAdminData"> |
|
|
|
select sys_user.username as adminID, |
|
|
|
sys_user.user_display as adminName |
|
|
|
from sys_user |
|
|
|
LEFT JOIN sys_user_role on sys_user.user_id = sys_user_role.user_id |
|
|
|
LEFT JOIN sys_role ON sys_user_role.role_id = sys_role.role_id |
|
|
|
WHERE sys_role.role_name = '维修工单确认按钮权限' |
|
|
|
</select> |
|
|
|
</mapper> |