| | |
| | | List<Loc> locs = new ArrayList<>();
|
| | | List<Map<String, Object>> list = viewTaskDetlMapper.getList(mat.getMatnr(), batch, uniqueFields);
|
| | | for (Map<String, Object> map : list) {
|
| | | Task task = taskService.getById(map.get("task_id").toString());
|
| | | Task task = taskService.getById(map.get("taskId").toString());
|
| | | if (task == null) {
|
| | | continue;
|
| | | }
|
| | |
| | | List<Loc> locs2 = new ArrayList<>();
|
| | | List<Map<String, Object>> list2 = viewLocDetlMapper.getList(mat.getMatnr(), batch, uniqueFields, null);
|
| | | for (Map<String, Object> map : list2) {
|
| | | Loc one = locService.getById(map.get("loc_id").toString());
|
| | | Loc one = locService.getById(map.get("locId").toString());
|
| | | if (one == null) {
|
| | | continue;
|
| | | }
|