From 747785dd1c86595f65c85fdeda289f917196c467 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期五, 17 十一月 2023 16:52:47 +0800
Subject: [PATCH] 优化agv工作档生成 组托时管控料箱码 拣料出库时生成工作党 AGV库存主档,工作主档的barcode也要记录料箱条码号 AGV工作党任务完成、取消优化 自动补货 管控不带料箱的托盘 盘点加上楼层选择

---
 src/main/java/com/zy/common/model/LocTypeDto.java |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/src/main/java/com/zy/common/model/LocTypeDto.java b/src/main/java/com/zy/common/model/LocTypeDto.java
index 151dd75..792eb2d 100644
--- a/src/main/java/com/zy/common/model/LocTypeDto.java
+++ b/src/main/java/com/zy/common/model/LocTypeDto.java
@@ -1,7 +1,5 @@
 package com.zy.common.model;
 
-import com.alibaba.fastjson.JSON;
-import com.core.exception.CoolException;
 import com.zy.asrs.entity.BasDevp;
 import lombok.Data;
 import lombok.extern.slf4j.Slf4j;
@@ -26,15 +24,15 @@
     }
 
     public LocTypeDto(BasDevp basDevp) {
-        if (basDevp.getLocType1() == null || basDevp.getLocType1() == 0) {
-            throw new CoolException("plc楂樹綆妫�娴嬪紓甯�");
-        }
-        if (basDevp.getLocType1() == 1) {
-            this.locType1 = 1; // 浣庡簱浣�
-        } else {
-            this.locType1 = 2; // 楂樺簱浣�
-        }
-        log.info(JSON.toJSONString(this));
+//        if (basDevp.getLocType1() == null || basDevp.getLocType1() == 0) {
+//            throw new CoolException("plc楂樹綆妫�娴嬪紓甯�");
+//        }
+//        if (basDevp.getLocType1() == 1) {
+//            this.locType1 = 1; // 浣庡簱浣�
+//        } else {
+//            this.locType1 = 2; // 楂樺簱浣�
+//        }
+//        log.info(JSON.toJSONString(this));
     }
 
     @Override

--
Gitblit v1.9.1