| | |
| | | <!-- 查询当前工序的表头数据--> |
| | | <select id="AddSelectLastWorkMp" resultMap="reportingWorkMap"> |
| | | select o.order_id, |
| | | o.batch, |
| | | fc.production_id, |
| | | fc.process_id as 'processIdFirst', |
| | | o.customer_id, |
| | |
| | | </select> |
| | | |
| | | <select id="SelectWorkBasicTeamsMp"> |
| | | select id,login_name,user_name,address from erp_user_info.`user` WHERE address=#{process} |
| | | select id,login_name,user_name,address from erp_user_info.`user` |
| | | where |
| | | address is not null and address != '' |
| | | and ( |
| | | (JSON_VALID(address) and JSON_CONTAINS(address,CONCAT('"', #{process}, '"') )) |
| | | or (not JSON_VALID(address) and address = #{process}) |
| | | ) |
| | | </select> |
| | | |
| | | <!-- 查询流程卡工艺流程--> |