自动化立体仓库 - WMS系统
pang.jiabao
1 天以前 9aff2228c647b65bd2aa7aa9186445fb7b5d2219
src/main/java/com/zy/system/entity/SaasLog.java
@@ -71,6 +71,29 @@
     */
    private String workshop;
    /**
     * 单据类型
     */
    @TableField("doc_type")
    private Long docType;
    @TableField("memo")
    private String memo;
    @TableField("memo2")
    private String memo2;
    // 是否分包,生产订单号为空则为分包 0.正常,1.分包
    @TableField("subcontracting")
    private Integer subcontracting;
    public String getSubcontracting$() {
        return Cools.isEmpty(this.subcontracting) ? ""
                : this.subcontracting == 0 ? "正常"
                : this.subcontracting == 1 ? "分包"
                : String.valueOf(this.subcontracting);
    }
    public SaasLog() {}
    public SaasLog(Long id,Integer type,String locNo,String matnr,Date ioTime,Long createBy) {
@@ -99,6 +122,9 @@
    }
    public String getType$(){
        if (this.type == null) {
            return "";
        }
        if (this.type ==0) {
            return "入库";
           } else if (this.type == 1) {
@@ -107,11 +133,16 @@
            return "库位移转";
        } else if (this.type == 3) {
            return "库存调整";
        }else {
        }else if (this.type == 4) {
            return "退货";
        } else {
            return "";
        }
    }
    public String getDocType$(){
        return "";
    }
}