自动化立体仓库 - WMS系统
*
L
4 天以前 c3617b473555b7b37755f92a04e258f0e55f333d
src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -4,6 +4,7 @@
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.zy.asrs.service.*;
import com.zy.system.entity.User;
import com.zy.system.service.UserService;
@@ -67,7 +68,7 @@
    /**
     * 徐工汉云拆垛标记  0: 未拆  1: 已拆
     * 徐工汉云拆垛标记  0: 初始 1、未拆已上报  2: 已拆  3:已处理可下一步(转历史档)
     */
    @ApiModelProperty(value= "")
    @TableField("sheet_no")
@@ -395,6 +396,18 @@
        return null;
    }
    public Integer getStaNoCar$(){
        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
        BasDevp basDevp = service.selectById(this.staNo);
        if (!Cools.isEmpty(basDevp)){
            if (basDevp.getDevNo()==1901){
                return 122;
            }
            return basDevp.getDevNo();
        }
        return null;
    }
    public String getSourceLocNo$(){
        LocMastService service = SpringUtils.getBean(LocMastService.class);
        LocMast locMast = service.selectById(this.sourceLocNo);
@@ -499,6 +512,26 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
    }
    public String getSheetNo$(){
        if (null == this.sheetNo){ return "未知"; }
        switch (this.sheetNo){
            case "0":
                return "默认";
            case "1":
                return "机械臂抓取中";
            case "2":
                return "抓取完成";
            case "3":
                return "任务完成";
            case "4":
                return "机械臂抓取中";
            case "5":
                return "码垛完成";
            default:
                return this.sheetNo;
        }
    }
}