whycxzp
2025-04-14 36160f9cc609f465b5d4f3433e3c0105beaba393
src/main/java/com/whyc/service/WmsService.java
@@ -136,7 +136,7 @@
        //通过taskNo从数据库查找对应的记录
        Task taskInDB = taskService.getByTaskNo(taskNo);
        if(taskInDB == null){
            return new Response<>().set(1,"未找到对应的任务");
            return new Response<>().setII(1,"任务上报失败,无法定位到任务,任务可能不是通过监控平台下发");
        }
        Task task = new Task();
        task.setTaskNo(taskNo);
@@ -184,7 +184,11 @@
                task.setActivationChamberStartTime(statusTime);
            }break;
            case 14:
                task.setActivationChamberPickUpTime(statusTime);break;
            case 24:
                //测压任务,开始取测压结束的电池. 读取abe_inf表中的内阻,插入到任务里
                AbeInf abeInf = abeInfService.get();
                task.setNowMonRes(abeInf.getNowMonRes());
                task.setActivationChamberPickUpTime(statusTime);break;
            case 15:
            case 25: