pang.jiabao
3 天以前 3b17ccf3fd001cbec7a8bac368f07cd9237faae8
src/main/java/com/zy/asrs/task/TaskReportScheduler.java
@@ -86,8 +86,8 @@
        add(301);add(302);add(303);add(304);add(305);add(306);add(307);add(308);
    }};
    // 侧面码盘完成上报wms
    @Scheduled(cron = "0/3 * * * * ? ")
    // 侧面码盘完成上报wms -弃用,出库完成时候上报状态
//    @Scheduled(cron = "0/3 * * * * ? ")
    public synchronized void reportPalletizingCompleted() {
        DevpThread devpThread = (DevpThread) SlaveConnection.get(SlaveType.Devp, 1);
        if (devpThread != null) {
@@ -99,7 +99,7 @@
                    short mpCompletedFlag = staProtocol.getMpCompletedFlag();
                    if (mpCompletedFlag == 1) {
                        TaskWrk taskWrk = taskWrkMapper.selectByWrkNo(Integer.valueOf(staProtocol.getWorkNo()));
                        if (taskWrk != null) {
                        if (taskWrk != null && taskWrk.getMp() == 1 && taskWrk.getMpCompletedReport() == 0) {
                            // 请求体
                            JSONObject request = new JSONObject();
@@ -142,8 +142,6 @@
                                        , bool
                                );
                            }
                        } else {
                            log.error("侧面码盘完成上报wms没有找到该任务,站点:{},任务号:{}", site, staProtocol.getWorkNo());
                        }
                    }
                }