#
1
2025-05-09 3ceabb21c1fd2b7fbdbc5c77c23f26152ec7f9aa
src/main/java/com/zy/asrs/task/TaskLogScheduler.java
@@ -54,17 +54,17 @@
    @Scheduled(cron = "0/3 * * * * ? ")
    public void execute() throws IOException {
        for (TaskWrk taskWrk : taskWrkService.selectToBeHistoryData()) {
        List<TaskWrk> taskWrkList = taskWrkService.selectToBeHistoryData();
        for (TaskWrk taskWrk : taskWrkList) {
            JSONObject jsonObject = null;
            String response = null;
            boolean success = false;
            HashMap<String, Object> map = new HashMap<>();
            try {
                map.put("taskNo", taskWrk.getTaskNo());
                map.put("taskNo",taskWrk.getTaskNo());
                map.put("status",taskWrk.getStatus());
                map.put("ioType", taskWrk.getIoType());
                map.put("barcode", taskWrk.getBarcode());
                map.put("reportTime", new Date());
                map.put("ioType",taskWrk.getIoType());
                map.put("barcode",taskWrk.getBarcode());
                response = new HttpHandler.Builder()
                        .setUri(wmsUrl)
                        .setPath(taskStatusFeedbackPath)