| | |
| | | List<Map<String,String>> historyDeviceMp(String historyProcess, String process); |
| | | |
| | | List<Map<String,String>> historyTeamsMp(String historyProcess, String process); |
| | | |
| | | List<Map<String,String>> SelectHistoryProcessMp(String historyProcess, String process); |
| | | } |
| | |
| | | map.put("historyDevice",reportingWorkMapper.historyDeviceMp(historyProcess,process)); |
| | | //历史报工工序班组 |
| | | map.put("historyTeams",reportingWorkMapper.historyTeamsMp(historyProcess,process)); |
| | | //历史工序 |
| | | map.put("historyProcess",reportingWorkMapper.SelectHistoryProcessMp(historyProcess,process)); |
| | | |
| | | |
| | | |
| | |
| | | AND POSITION(bd.basic_name in CONCAT(#{historyProcess},#{process})) |
| | | </select> |
| | | |
| | | <select id="SelectHistoryProcessMp"> |
| | | SELECT |
| | | distinct |
| | | bd.basic_name AS basic_category |
| | | FROM |
| | | sd.basic_data AS bd |
| | | LEFT JOIN `basic_data_produce` AS bdp ON bd.id = bdp.basic_category |
| | | WHERE |
| | | bd.basic_category = "process" |
| | | AND bdp.basic_type = "teamsgroups" |
| | | AND POSITION(bd.basic_name in CONCAT(#{historyProcess},#{process})) |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | AND POSITION(bd.basic_name in CONCAT(#{historyProcess},#{process})) |
| | | </select> |
| | | |
| | | <select id="SelectHistoryProcessMp"> |
| | | SELECT |
| | | distinct |
| | | bd.basic_name AS basic_category |
| | | FROM |
| | | sd.basic_data AS bd |
| | | LEFT JOIN `basic_data_produce` AS bdp ON bd.id = bdp.basic_category |
| | | WHERE |
| | | bd.basic_category = "process" |
| | | AND bdp.basic_type = "teamsgroups" |
| | | AND POSITION(bd.basic_name in CONCAT(#{historyProcess},#{process})) |
| | | </select> |
| | | |
| | | </mapper> |