From 50acd5996ba9f88bbfd4341855c38b625598a190 Mon Sep 17 00:00:00 2001
From: cp <513960435@qq.com>
Date: 星期四, 24 十月 2024 20:29:35 +0800
Subject: [PATCH] 打印添加制令,晚上订单上报

---
 zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/LocMast.java |   24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/LocMast.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/LocMast.java
index 22321a7..1f624ac 100644
--- a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/LocMast.java
+++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/LocMast.java
@@ -30,7 +30,7 @@
 import java.util.Date;
 
 @Data
-@TableName("wms_loc_mast")
+@TableName("common_loc_mast")
 public class LocMast implements Serializable {
 
     private static final long serialVersionUID = 1L;
@@ -164,9 +164,15 @@
     @ApiModelProperty(value= "鎺堟潈鍟嗘埛")
     private Long hostId;
 
+    @ApiModelProperty(value= "鎷嶇収鍥剧墖")
+    private String pic;
+
+    @ApiModelProperty(value= "璐т富")
+    private String owner;
+
     public LocMast() {}
 
-    public LocMast(String locNo,Long whsType,String locSts,Integer crnNo,Integer row1,Integer bay1,Integer lev1,String fullPlt,Short locType1,Short locType2,Short locType3,Date ioTime,Date firstTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Date errorTime,String errorMemo,String mk,String barcode,String memo,Long hostId) {
+    public LocMast(String locNo,Long whsType,String locSts,Integer crnNo,Integer row1,Integer bay1,Integer lev1,String fullPlt,Short locType1,Short locType2,Short locType3,Date ioTime,Date firstTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Date errorTime,String errorMemo,String mk,String barcode,String memo,Long hostId, String owner) {
         this.locNo = locNo;
         this.whsType = whsType;
         this.locSts = locSts;
@@ -190,6 +196,7 @@
         this.barcode = barcode;
         this.memo = memo;
         this.hostId = hostId;
+        this.owner = owner;
     }
 
 //    LocMast locMast = new LocMast(
@@ -219,14 +226,17 @@
 //    );
 
     public String getWhsType$(){
-        BasWhsService service = SpringUtils.getBean(BasWhsService.class);
-        BasWhs basWhs = service.getById(this.whsType);
-        if (!Cools.isEmpty(basWhs)){
-            return String.valueOf(basWhs.getWhsDesc());
+        if (Cools.isEmpty(this.whsType)) return "鏈煡";
+        switch (this.whsType.intValue()){
+            case 0:
+                return "绔嬩綋浠撳簱";
+            case 1:
+                return "骞抽潰浠撳簱";
         }
-        return null;
+        return "鏈煡";
     }
 
+
     public String getLocSts$(){
         BasLocStsService service = SpringUtils.getBean(BasLocStsService.class);
         BasLocSts basLocSts = service.getById(this.locSts);

--
Gitblit v1.9.1