自动化立体仓库 - WMS系统
1
16 小时以前 8d75c94e04af3d56c0de713e3120d14dfef73083
src/main/java/com/zy/asrs/entity/WrkMastSta.java
@@ -128,6 +128,8 @@
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bignTime;
    private Integer mk;
    public WrkMastSta() {
    }
@@ -135,12 +137,13 @@
        this.wrkNo = wrkMast.getWrkNo().longValue();
        this.wrkStart = wrkMast.getSourceStaNo();
        this.wrkEnd = wrkMast.getStaNo();
        this.staStart = basDevp.getDevNo();
        this.staStart = getStaSta(basDevp.getDevNo());
        this.staEnd = getStaEnd(wrkMast.getStaNo());
        this.createTime = now;
        this.updateTime = now;
        this.wrkSts = 0;
        this.bignTime = now;
        this.mk = 0;
    }
    public WrkMastSta(Date now, Integer staStart) {
@@ -220,6 +223,27 @@
        }
    }
    public Integer getStaSta(Integer souSta) {
        switch (souSta) {
            case 1043: return 1042;
            case 1104: return 1105;
            case 1005: return 1007;
            case 1008: return 1010;
            case 1019: return 1021;
            case 1022: return 1024;
            case 1029: return 1031;
            case 2001: return 2003;
            case 2007: return 2009;
            case 2013: return 2015;
            case 2019: return 2021;
            case 2025: return 2027;
            default:
                return souSta;
        }
    }
    public String getType$() {
        if (Cools.isEmpty(this.type)) {
            return "";