自动化立体仓库 - WMS系统
zjj
2023-09-09 5d027c7a3425724fd7101bde2d1dd8d5c4fb8f1b
src/main/java/com/zy/asrs/entity/ManLocDetl.java
@@ -30,6 +30,7 @@
     * 所属项目
     */
    @ApiModelProperty(value= "所属项目")
    @TableId(value = "host_id", type = IdType.AUTO)
    @TableField("host_id")
    private Long hostId;
@@ -37,7 +38,6 @@
     * 货位编号
     */
    @ApiModelProperty(value= "货位编号")
    @TableId(value = "loc_no", type = IdType.INPUT)
    @TableField("loc_no")
    private String locNo;
@@ -215,44 +215,20 @@
    @ApiModelProperty(value= "货物形态:0:代采、1:仓储")
    private Integer payment;
    /**
     * uuid时间戳
     */
    @ApiModelProperty(value= "uuid")
    @TableId(value = "uuid", type = IdType.ID_WORKER_STR)
    @TableField("uuid")
    private String uuid;
    @ApiModelProperty(value= "添加时间")
    @TableField("real_anfme")
    private Date realAnfme;
    public ManLocDetl() {}
    @ApiModelProperty(value= "订单号")
    @TableField("order_no")
    private String orderNo;
    public ManLocDetl(Long hostId, String locNo,Long nodeId,String zpallet,Double anfme,String matnr,String maktx,String name,String specs,String model,String batch,String unit,String barcode,Long docId,String docNum,String custName,Integer itemNum,Integer count,Double weight,Integer status,Long createBy,Date createTime,Long updateBy,Date modiTime,String memo,int owner ,int payment,String uuid) {
        this.hostId = hostId;
        this.nodeId = nodeId;
        this.zpallet = zpallet;
        this.anfme = anfme;
        this.maktx = maktx;
        this.name = name;
        this.specs = specs;
        this.model = model;
        this.batch = batch;
        this.unit = unit;
        this.barcode = barcode;
        this.docId = docId;
        this.docNum = docNum;
        this.custName = custName;
        this.itemNum = itemNum;
        this.count = count;
        this.weight = weight;
        this.status = status;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.modiTime = modiTime;
        this.memo = memo;
        this.owner = owner;
        this.payment = payment;
        this.uuid = uuid;
    }
    @TableField("stock_freeze")
    @ApiModelProperty(value= "库存冻结{1:正常,0:冻结}")
    private Integer stockFreeze;
//    LocDetl locDetl = new LocDetl(
//            null,    // 货位编号[非空]
@@ -367,6 +343,12 @@
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.modiTime);
    }
    public String getStockFreeze$() {
        if (Cools.isEmpty(this.stockFreeze)){
            return "";
        }
        return this.stockFreeze == 1 ? "正常" : "冻结";
    }