From 332420e29973a6768c50558df5775554882f6be7 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期四, 11 七月 2024 18:55:35 +0800
Subject: [PATCH] #
---
zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/WrkMast.java | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/WrkMast.java b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/WrkMast.java
index c8b0a48..14ae9ee 100644
--- a/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/WrkMast.java
+++ b/zy-asrs-common/src/main/java/com/zy/asrs/common/wms/entity/WrkMast.java
@@ -192,9 +192,12 @@
@ApiModelProperty(value= "鎷嶇収鍥剧墖")
private String pic;
+ @ApiModelProperty(value= "璐т富")
+ private Integer owner;
+
public WrkMast() {}
- public WrkMast(Integer wrkNo, Long wrkSts, Integer ioType, Double ioPri, String locNo, Integer staNo, Integer sourceStaNo, String sourceLocNo, String picking, String exitMk, Integer pltType, String emptyMk, Date ioTime, Integer ctnType, String modiUser, Date modiTime, String appeUser, Date appeTime, Date errorTime, String errorMemo, String manuType, String memo, String barcode, String fullPlt, Long hostId, String oveMk, String invWh, Integer crnNo) {
+ public WrkMast(Integer wrkNo, Long wrkSts, Integer ioType, Double ioPri, String locNo, Integer staNo, Integer sourceStaNo, String sourceLocNo, String picking, String exitMk, Integer pltType, String emptyMk, Date ioTime, Integer ctnType, String modiUser, Date modiTime, String appeUser, Date appeTime, Date errorTime, String errorMemo, String manuType, String memo, String barcode, String fullPlt, Long hostId, String oveMk, String invWh, Integer crnNo,Integer owner) {
this.wrkNo = wrkNo;
this.wrkSts = wrkSts;
this.ioType = ioType;
@@ -223,6 +226,7 @@
this.oveMk = oveMk;
this.invWh = invWh;
this.crnNo = crnNo;
+ this.owner = owner;
}
// WrkMast wrkMast = new WrkMast(
@@ -254,6 +258,18 @@
// null // 鎺堟潈鍟嗘埛
// );
+ public String getOwner$(){
+ if (null == this.owner){ return null; }
+ switch (this.owner){
+ case 1:
+ return "瀹佹尝";
+ case 2:
+ return "鏂版槍";
+ default:
+ return String.valueOf(this.owner);
+ }
+ }
+
public String getWrkSts$(){
BasWrkStatusService service = SpringUtils.getBean(BasWrkStatusService.class);
BasWrkStatus basWrkStatus = service.getById(this.wrkSts);
--
Gitblit v1.9.1