自动化立体仓库 - WMS系统
pang.jiabao
2025-04-14 2f73fee4e429bd57df092ab185dfee2e1306ff09
src/main/java/com/zy/asrs/entity/Order.java
@@ -93,7 +93,7 @@
     * 客户编号
     */
    @ApiModelProperty(value= "客户编号")
    private Long cstmr;
    private String cstmr;
    /**
     * 客户
@@ -165,7 +165,7 @@
    /**
     * 结算天数
     */
    @ApiModelProperty(value= "结算天数")
    @ApiModelProperty(value= "0默认,1已生成入库通知档")
    @TableField("account_day")
    private Integer accountDay;
@@ -261,9 +261,31 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    /**
     * 状态 1: 进行中  0: 初始  2:已完成
     */
    @ApiModelProperty(value= "状态  2:已完成 1: 进行中 0: 初始  ")
    @TableField("move_status")
    private Integer moveStatus;
    @TableField("ware_id")
    private String wareId;
    @TableField("ware_name")
    private String wareName;
    @TableField("temp1")
    private String temp1;
    @TableField("temp2")
    private String temp2;
    @TableField("temp3")
    private String temp3;
    public Order() {}
    public Order(String uuid,String orderNo,String orderTime,Long docType,Long itemId,String itemName,Long allotItemId,String defNumber,String number,Long cstmr,String cstmrName,String tel,String operMemb,Double totalFee,Double discount,Double discountFee,Double otherFee,Double actFee,Integer payType,String salesman,Integer accountDay,Integer postFeeType,Double postFee,Date payTime,Date sendTime,String shipName,String shipCode,Long settle,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
    public Order(String uuid,String orderNo,String orderTime,Long docType,Long itemId,String itemName,Long allotItemId,String defNumber,String number,String cstmr,String cstmrName,String tel,String operMemb,Double totalFee,Double discount,Double discountFee,Double otherFee,Double actFee,Integer payType,String salesman,Integer accountDay,Integer postFeeType,Double postFee,Date payTime,Date sendTime,String shipName,String shipCode,Long settle,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.uuid = uuid;
        this.orderNo = orderNo;
        this.orderTime = orderTime;
@@ -345,6 +367,15 @@
        }
        return null;
    }
    public String getTemp$(){
        if(!Cools.isEmpty(this.temp1)) {
            return this.temp1;
        }
        if(!Cools.isEmpty(this.temp2)) {
            return this.temp2;
        }
        return "";
    }
    public String getPayType$(){
        if (null == this.payType){ return null; }
@@ -405,6 +436,20 @@
        }
    }
    public String getMoveStatus$(){
        if (null == this.moveStatus){ return null; }
        switch (this.moveStatus){
            case 2:
                return "已备货";
            case 1:
                return "备货中";
            case 0:
                return "未初始";
            default:
                return String.valueOf(this.moveStatus);
        }
    }
    public String getCreateBy$(){
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.selectById(this.createBy);