| | |
| | | } |
| | | log.info("任务执行参数回写:{}", JSON.toJSONString(params)); |
| | | if (params.getMsgType().equals("task_complete") || params.getMsgType().equals("station_out_task_run_complete")) { |
| | | JSONObject json = JSONObject.parseObject(params.getData()); |
| | | log.info(params.getSuperTaskNo() + "==============>{}", json); |
| | | if (mast.getIoType() == 1 || mast.getIoType() == 11 || mast.getIoType() == 10 || mast.getIoType() == 53 || mast.getIoType() == 54 || mast.getIoType() == 57) { |
| | | if (params.getMsgType().equals("task_complete")) { |
| | | if (mast.getIoType() == 53) { |
| | | if (mast.getIoType() == 53 && !Objects.isNull(json) && json.getInteger("ioType") == 1) { |
| | | List<WrkDetl> wrkDetls103 = wrkDetlService |
| | | .selectList(new EntityWrapper<WrkDetl>().eq("wrk_no", mast.getWrkNo())); |
| | | if (wrkDetls103.isEmpty()) { |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | mast.setWrkSts(4L); |
| | | } else if ((mast.getIoType() == 54 || mast.getIoType() == 57) ) { |
| | | mast.setWrkSts(4L); |
| | | } else if (mast.getIoType() != 53 ) { |
| | | mast.setWrkSts(4L); |
| | | } |
| | | } |
| | | } else if (mast.getIoType() == 101 || mast.getIoType() == 110 || mast.getIoType() == 103 || mast.getIoType() == 104 || mast.getIoType() == 107) { |
| | | if (mast.getWrkSts() != 14) { |