1
zhang
1 天以前 3a49654f51096d4f9f95f4a5e8198e168e38a0c5
zy-acs-manager/src/main/java/com/zy/acs/manager/manager/entity/Sta.java
@@ -56,7 +56,7 @@
     * 站类型
     */
    @ApiModelProperty(value= "站类型")
    private Long staType;
    private Integer staType;
    /**
     * 条码
@@ -69,6 +69,12 @@
     */
    @ApiModelProperty(value= "偏移量")
    private Double offset;
    /**
     * 作业角度
     */
    @ApiModelProperty(value= "作业角度")
    private String angle;
    /**
     * 自动
@@ -154,56 +160,6 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    public Sta() {}
    public Sta(String uuid,Long zoneId,String staNo,String name,Long staType,Long code,Double offset,String autoing,String loading,String inEnable,String outEnable,String zpallet,Long staSts,Integer status,Integer deleted,Long tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.uuid = uuid;
        this.zoneId = zoneId;
        this.staNo = staNo;
        this.name = name;
        this.staType = staType;
        this.code = code;
        this.offset = offset;
        this.autoing = autoing;
        this.loading = loading;
        this.inEnable = inEnable;
        this.outEnable = outEnable;
        this.zpallet = zpallet;
        this.staSts = staSts;
        this.status = status;
        this.deleted = deleted;
        this.tenantId = tenantId;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.memo = memo;
    }
//    Sta sta = new Sta(
//            null,    // 编号
//            null,    // 库区
//            null,    // 站号
//            null,    // 名称
//            null,    // 站类型[非空]
//            null,    // 条码
//            null,    // 偏移量
//            null,    // 自动
//            null,    // 有物
//            null,    // 可入
//            null,    // 可出
//            null,    // 托盘码
//            null,    // 站状态
//            null,    // 状态[非空]
//            null,    // 是否删除[非空]
//            null,    // 租户
//            null,    // 添加人员
//            null,    // 添加时间[非空]
//            null,    // 修改人员
//            null,    // 修改时间
//            null    // 备注
//    );
    public String getZoneId$(){
        ZoneService service = SpringUtils.getBean(ZoneService.class);
        Zone zone = service.getById(this.zoneId);
@@ -220,6 +176,15 @@
            return String.valueOf(staType.getName());
        }
        return null;
    }
    public Integer getStaTypeIsCheck(){
        StaTypeService service = SpringUtils.getBean(StaTypeService.class);
        StaType staType = service.getById(this.staType);
        if (!Cools.isEmpty(staType)){
            return staType.getCheckType();
        }
        return 0;
    }
    public String getCode$(){
@@ -252,17 +217,16 @@
        }
    }
    public String getDeleted$(){
        if (null == this.deleted){ return null; }
        switch (this.deleted){
    public Boolean getStatusBool(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return "是";
                return true;
            case 0:
                return "否";
                return false;
            default:
                return String.valueOf(this.deleted);
                return null;
        }
    }
}