自动化立体仓库 - WMS系统
#
zjj
2024-09-23 539d9ffc477d28a23a923b41fdeabc8c37c99ce6
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -1,5 +1,6 @@
package com.zy.asrs.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
@@ -44,6 +45,7 @@
     */
    @ApiModelProperty(value= "单据编号")
    @TableField("order_no")
    @ExcelProperty({"单据", "单据编号"})
    private String orderNo;
@@ -51,6 +53,7 @@
     * 数量
     */
    @ApiModelProperty(value= "数量")
    @ExcelProperty({"单据", "数量"})
    private Double anfme;
    /**
@@ -61,6 +64,7 @@
     */
    @ApiModelProperty(value= "作业数量")
    @TableField("work_qty")
    @ExcelProperty({"单据", "作业数量"})
    private Double workQty;
    /**
@@ -70,18 +74,21 @@
     *  出库 : qty 👆
     */
    @ApiModelProperty(value= "完成数量")
    @ExcelProperty({"单据", "完成数量"})
    private Double qty;
    /**
     * 商品编码
     */
    @ApiModelProperty(value= "商品编码")
    @ExcelProperty({"单据", "商品编码"})
    private String matnr;
    /**
     * 商品名称
     */
    @ApiModelProperty(value= "商品名称")
    @ExcelProperty({"单据", "商品名称"})
    private String maktx;
    /**
@@ -94,6 +101,7 @@
     * 规格
     */
    @ApiModelProperty(value= "规格")
    @ExcelProperty({"单据", "规格"})
    private String specs;
    /**
@@ -181,6 +189,7 @@
     * 重量
     */
    @ApiModelProperty(value= "重量")
    @ExcelProperty({"单据", "重量"})
    private Double weight;
    /**
@@ -300,12 +309,14 @@
     * 拥有者
     */
    @ApiModelProperty(value= "拥有者 1: 杰克   ")
    @ExcelProperty({"单据", "货主ID"})
    private Integer owner;
    /**
     * 货物形态:0:代采、1:仓储
     */
    @ApiModelProperty(value= "货物形态:0:代采、1:仓储")
    @ExcelProperty({"单据", "货物形态ID"})
    private Integer payment;
    /**
@@ -315,6 +326,23 @@
    @TableId(value = "uuid", type = IdType.ID_WORKER_STR)
    @TableField("uuid")
    private String uuid;
    //最大熔指
    private double fingerMeltingMin;
    //最小熔指
    private double fingerMeltingMax;
    //最大熔点
    private double fusingPointMin;
    //最小熔点
    private double fusingPointMax;
    //最大黄度
    private double yellownessMin;
    //最大黄度
    private double yellownessMax;
    //最小不透明度
    private double opacityMin;
    //最大不透明度
    private double opacityMax;
    public String getOwner$(){
        LocOwnerService service = SpringUtils.getBean(LocOwnerService.class);
@@ -495,11 +523,15 @@
    }
    public Double getEnableQty() {
        Double enableQty = null;
        if (null != this.anfme && this.workQty != null) {
            enableQty = this.anfme  - this.workQty;
           if (enableQty <0){
               enableQty = 0.0D;
           }
        if (null != this.anfme && this.qty != null) {
            return this.anfme - this.qty;
        }
        return null;
        return enableQty;
    }
    public void sync(Object source) {