From 2e84db729d434524c7b35939c76c4d7020126167 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期二, 01 八月 2023 13:09:44 +0800 Subject: [PATCH] 调度方法可通过穿梭车号进行指定车辆调度 --- src/main/java/com/zy/asrs/entity/WrkMast.java | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java index 3438b83..14b8621 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMast.java +++ b/src/main/java/com/zy/asrs/entity/WrkMast.java @@ -3,6 +3,7 @@ import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; +import com.baomidou.mybatisplus.enums.FieldStrategy; import com.baomidou.mybatisplus.enums.IdType; import com.core.common.Cools; import com.core.common.SpringUtils; @@ -73,6 +74,13 @@ @ApiModelProperty(value= "绌挎杞�") @TableField("ste_no") private Integer steNo; + + /** + * 杈圭紭搴撲綅 + */ + @ApiModelProperty(value= "杈圭紭搴撲綅") + @TableField("out_most") + private Integer outMost; @ApiModelProperty(value= "") @TableField("sheet_no") @@ -302,7 +310,7 @@ @ApiModelProperty(value= "") @TableField("Pdc_type") - private String PdcType; + private String pdcType; @ApiModelProperty(value= "") @TableField("ctn_no") @@ -314,6 +322,20 @@ @ApiModelProperty(value= "婊℃澘") @TableField("full_plt") private String fullPlt; + + /** + * 鍥涘悜绌挎杞﹀彿 + */ + @ApiModelProperty(value= "鍥涘悜绌挎杞﹀彿") + @TableField(value = "shuttle_no",strategy = FieldStrategy.IGNORED) + private Integer shuttleNo; + + /** + * 鎻愬崌鏈哄彿 + */ + @ApiModelProperty(value= "鎻愬崌鏈哄彿") + @TableField(value = "lift_no",strategy = FieldStrategy.IGNORED) + private Integer liftNo; public String getWrkSts$(){ BasWrkStatusMapper mapper = SpringUtils.getBean(BasWrkStatusMapper.class); @@ -491,4 +513,16 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime); } + public String getOutMost$() { + if (null == this.outMost){ return null; } + switch (this.outMost){ + case 1: + return "杈圭紭搴撲綅"; + case 0: + return "鍐呰仈搴撲綅"; + default: + return String.valueOf(this.outMost); + } + } + } -- Gitblit v1.9.1