From 6213126dce8a83f41caf973adf70fbd13fc171f0 Mon Sep 17 00:00:00 2001 From: 野心家 <1051256694@qq.com> Date: 星期四, 02 一月 2025 08:05:58 +0800 Subject: [PATCH] 新增重置堆垛机任务 --- src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java index b688f7d..e0d0f53 100644 --- a/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/OpenServiceImpl.java @@ -79,6 +79,14 @@ taskWrk.setWrkNo(workNo1); taskWrk.setStatus(TaskStatusType.RECEIVE.id);//浠诲姟鐘舵�侊細鎺ユ敹 taskWrk.setCreateTime(now); + try{ + if (param.getIoType()>1){ + if (Utils.locNoRowBoolean(locMast.getRow1())){ + param.setTaskPriority(11); + } + } + }catch (Exception e){ + } taskWrk.setIoType(param.getIoType());//浠诲姟绫诲瀷 taskWrk.setIoPri(param.getTaskPriority());//浼樺厛绾� taskWrk.setBarcode(param.getBarcode());//鏉$爜 @@ -265,7 +273,7 @@ }else if (param.getType()==1 && basDevp.getAgvStartPlace()==1){ return R.ok(); }else { - return R.error(); + return R.error("涓嶅厑璁�"); } } -- Gitblit v1.9.1