From cda03cb23bc12f582029ac8d6df103d86e61fc8b Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期一, 02 十月 2023 13:48:57 +0800 Subject: [PATCH] AGV调试更改 工作档自增 --- src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java b/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java index a0f8e09..9671a2f 100644 --- a/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java +++ b/src/main/java/com/zy/asrs/service/impl/AgvWrkMastServiceImp.java @@ -39,6 +39,9 @@ @Value("${agv.containerMoveInPath}") private String containerMoveInPath; + @Value("${agv.containerMoveOutPath}") + private String containerMoveOutPath; + @Autowired AgvWrkMastMapper agvWrkMastMapper; @Autowired @@ -103,7 +106,13 @@ positionCodeMap.put("positionCode",agvWrkMast.getLocNo()); positionCodeMapList.add(positionCodeMap); } - return doHttpRequest(containerMoveParam,"瀹瑰櫒鍏ュ満浠诲姟涓嬪彂",url, containerMoveInPath,null,"127.0.0.1"); + return doHttpRequest(containerMoveParam,"瀹瑰櫒绂诲満浠诲姟涓嬪彂",url, containerMoveOutPath,null,"127.0.0.1"); + } + + public boolean insertByIncrease(AgvWrkMast agvWrkMast) { + int index = this.baseMapper.insertByIncrease(agvWrkMast); + + return index > 0; } private void getContainerMoveParam(List<AgvWrkMast> agvWrkMastList,List<Map<String,String>> positionCodeMapList){ -- Gitblit v1.9.1