自动化立体仓库 - WMS系统
zwl
17 小时以前 3b0cab2402876426acbc0814394ff940fd2ce83d
src/main/java/com/zy/asrs/entity/WaitPakin.java
@@ -1,12 +1,9 @@
package com.zy.asrs.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.asrs.service.BasProcessProceduresService;
import com.zy.asrs.service.BasQualityTestingService;
import com.zy.common.utils.Synchro;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -44,6 +41,56 @@
    @TableField("order_no")
    private String orderNo;
    /**
     * 集装箱号
     */
    @ApiModelProperty(value= "集装箱号")
    @ExcelProperty("集装箱号")
    @TableField("container_no")
    private String containerNo;
    /**
     * TEU
     */
    @ApiModelProperty(value= "TEU")
    @ExcelProperty("TEU")
    @TableField("teu")
    private Integer teu;
    /**
     * 车牌号
     */
    @ApiModelProperty(value= "车牌号")
    @ExcelProperty("车牌号")
    @TableField("plate_no")
    private String plateNo;
    /**
     * 车次号
     */
    @ApiModelProperty(value= "车次号")
    @ExcelProperty("车次号")
    @TableField("train_no")
    private String trainNo;
    @ApiModelProperty(value= "建议入库区域:堆垛机号")
    private String origin;
    @ApiModelProperty(value= "货物频次:1=高频,2=低频")
    @TableField("freq_type")
    private Integer freqType;
    /**
     * 立方数
     */
    @ApiModelProperty(value= "立方数,单位:立方米")
    @ExcelProperty("立方数")
    @TableField("cube_number")
    private Double cubeNumber;
    @ApiModelProperty(value= "库位编码,若有,则存储到指定库位。为后续分区预留")
    private String manu;
    @ApiModelProperty(value= "规格")
    private String specs;
@@ -70,12 +117,6 @@
    @ApiModelProperty(value= "条码")
    private String barcode;
    @ApiModelProperty(value= "产地")
    private String origin;
    @ApiModelProperty(value= "厂家")
    private String manu;
    @ApiModelProperty(value= "生产日期")
    @TableField("manu_date")
@@ -160,19 +201,19 @@
     * 备用1
     */
    @ApiModelProperty(value= "备用1")
    private String standby1 = "";
    private String standby1 = "1";
    /**
     * 备用2
     */
    @ApiModelProperty(value= "备用2")
    private String standby2 = "";
    private String standby2 = "1";
    /**
     * 备用3
     */
    @ApiModelProperty(value= "备用3")
    private String standby3 = "";
    private String standby3 = "1";
    /**
     * 备用1
@@ -257,24 +298,6 @@
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public String getBoxType1$(){
        BasProcessProceduresService service = SpringUtils.getBean(BasProcessProceduresService.class);
        BasProcessProcedures processProcedures = service.selectOne(new EntityWrapper<BasProcessProcedures>().eq("box_type", this.boxType1));
        if (!Cools.isEmpty(processProcedures)){
            return String.valueOf(processProcedures.getBoxSpecs());
        }
        return this.boxType1;
    }
    public String getBoxType2$(){
        BasQualityTestingService service = SpringUtils.getBean(BasQualityTestingService.class);
        BasQualityTesting basQualityTesting = service.selectOne(new EntityWrapper<BasQualityTesting>().eq("box_type", this.boxType1));
        if (!Cools.isEmpty(basQualityTesting)){
            return String.valueOf(basQualityTesting.getBoxSpecs());
        }
        return this.boxType1;
    }
    public void sync(Object source) {