From 56d245daea6ca665021b1987abf3aec5a1b028cb Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期二, 18 七月 2023 16:34:28 +0800 Subject: [PATCH] agv 入库接口调整 --- src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java index 82751d4..059d889 100644 --- a/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/AgvWorkServiceImpl.java @@ -3,7 +3,10 @@ import com.baomidou.mybatisplus.mapper.EntityWrapper; import com.core.common.Cools; import com.core.exception.CoolException; -import com.zy.asrs.entity.*; +import com.zy.asrs.entity.AgvBasDevp; +import com.zy.asrs.entity.AgvLocMast; +import com.zy.asrs.entity.AgvWaitPakin; +import com.zy.asrs.entity.AgvWrkMast; import com.zy.asrs.service.*; import com.zy.common.model.DetlDto; import com.zy.common.model.StartupDto; @@ -13,7 +16,9 @@ import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; -import java.util.*; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; /** * Created by vincent on 2020/6/11 @@ -66,6 +71,7 @@ updateAgvBasDevp(agvBasDevp); //鏇存柊鐩爣搴撲綅鐘舵�� updateAgvLocMast(agvLocMast); + }); return null; @@ -115,7 +121,7 @@ int workNo = agvCommonService.getWorkNo(0); wrkMast.setWrkNo(workNo); wrkMast.setIoTime(new Date()); - wrkMast.setWrkSts(1L); // 宸ヤ綔鐘舵�侊細鐢熸垚鍏ュ簱ID + wrkMast.setWrkSts(201L); // 宸ヤ綔鐘舵�侊細201.鐢熸垚鍏ュ簱浠诲姟ID wrkMast.setIoType(1); // 鍏ュ嚭搴撶姸鎬侊細1.鍏ュ簱 //鐢熸垚浼樺厛绾� wrkMast.setIoPri(300.0); @@ -136,12 +142,5 @@ } return wrkMast; - } - - public static void main(String[] args) { - Set<AgvBasDevp> set = new HashSet<>(); - set.add(null); - set.add(null); - System.out.println(set.size()); } } -- Gitblit v1.9.1