From 53ae8e478f6034579303c51bdf881ffa526c942c Mon Sep 17 00:00:00 2001
From: taisheng <taisheng@qq.com>
Date: 星期六, 24 五月 2025 14:22:43 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/entity/param/TaskCreateParam.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/param/TaskCreateParam.java b/src/main/java/com/zy/asrs/entity/param/TaskCreateParam.java
index fd7803e..4e6930e 100644
--- a/src/main/java/com/zy/asrs/entity/param/TaskCreateParam.java
+++ b/src/main/java/com/zy/asrs/entity/param/TaskCreateParam.java
@@ -44,6 +44,17 @@
this.crn = param.getTaskTunnel();
};
+ public TaskCreateParam(CarryParam param, Integer crn){
+ this.taskNo = param.getTaskNo();
+ this.ioType = param.getStereoscopicTaskType();
+ this.barcode = param.getBoxNo();
+ this.taskPriority = 12;
+ this.startPoint = param.getStartPoint();
+ this.targetPoint = param.getTerminalNo();
+ this.emptyContainer = "N";
+ this.crn = crn;
+ };
+
public static Integer convertParamIoType(String paramIoType){
switch (paramIoType){
--
Gitblit v1.9.1