#
zjj
2025-06-05 c904f735e0b8a488ef56744c08f8e10258639bce
src/main/java/com/zy/asrs/entity/WrkMastSta.java
@@ -144,9 +144,8 @@
        this.staStart = staStart;
        this.staEnd = staEnd;
        this.createTime = now;
        this.updateTime = now;
        this.wrkSts = 0;
        this.bignTime = now;
    }
//    WrkMastSta wrkMastSta = new WrkMastSta(
@@ -172,6 +171,48 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
    }
    public String getType$() {
        if (Cools.isEmpty(this.type)) {
            return "";
        }
        switch (this.type) {
            case 1:
                return "非空";
            case 2:
                return "空板";
            default:
                return "";
        }
    }
    /**
     * 工作状态 0:初始 1:等待小车取 2:等待小车放 3:完成
     */
    public String getWrkSts$() {
        if (Cools.isEmpty(this.wrkSts)) {
            try {
                if (this.wrkSts==0){
                    return "初始";
                }
            }catch (Exception e){
                return "";
            }
            return "";
        }
        switch (this.wrkSts) {
            case 0:
                return "初始";
            case 1:
                return "等待小车取";
            case 2:
                return "等待小车放";
            case 3:
                return "完成";
            default:
                return "";
        }
    }
    public String getUpdateTime$(){
        if (Cools.isEmpty(this.updateTime)){
            return "";