From 60201c8530488c402b8b44b215b8d48c60d6679a Mon Sep 17 00:00:00 2001 From: cpT <1@123> Date: 星期四, 19 六月 2025 19:43:21 +0800 Subject: [PATCH] #改造 --- src/main/java/com/zy/asrs/entity/BasRgvOpt.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/BasRgvOpt.java b/src/main/java/com/zy/asrs/entity/BasRgvOpt.java index 359c686..57cc786 100644 --- a/src/main/java/com/zy/asrs/entity/BasRgvOpt.java +++ b/src/main/java/com/zy/asrs/entity/BasRgvOpt.java @@ -158,7 +158,7 @@ this.wrkNo1 = taskNo; this.rgvNo = rgvNo; this.sendTime = now; - this.mode = command.getTaskModeType1().name(); + this.mode = command.getTaskModeTypeString(); this.sourceRow = rgvPoi;//灏忚溅褰撳墠浣嶇疆 this.sourceSta = command.getSourceStaNo1().intValue(); this.posSta = command.getDestinationStaNo1().intValue(); @@ -179,6 +179,19 @@ this.updateBy = 9999L; this.memo = "婕父浠诲姟瑙﹀彂"; } + public BasRgvOpt(Integer taskNo,int rgvNo,int rgvPoi) { + Date now = new Date(); + this.wrkNo1 = taskNo; + this.rgvNo = rgvNo; + this.sendTime = now; + this.mode = "浠诲姟鍙栨秷"; + this.sourceRow = rgvPoi;//灏忚溅褰撳墠浣嶇疆 + this.sourceSta = rgvPoi; + this.posSta = 0; + this.updateTime = now; + this.updateBy = 9999L; + this.memo = "浠诲姟鍙栨秷"; + } public BasRgvOpt(Integer wrkNo1,Integer wrkNo2,Integer rgvNo,Date sendTime,String mode,Integer sourceRow,Integer sourceBay,Integer sourceLev,Integer sourceSta,Integer posRow,Integer posBay,Integer posLev,Integer posSta,Integer response,Date updateTime,Long updateBy,String memo) { this.wrkNo1 = wrkNo1; -- Gitblit v1.9.1