| | |
| | | private Long areaId; |
| | | |
| | | /** |
| | | * 库位ID(*) |
| | | */ |
| | | @ApiModelProperty(value= "库位ID(*)") |
| | | private Long locId; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 冻结 |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 冻结 ") |
| | |
| | | |
| | | public LocArea() {} |
| | | |
| | | public LocArea(String name,String code,Long areaId,Long locId,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | public LocArea(String name,String code,Long areaId,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | this.name = name; |
| | | this.code = code; |
| | | this.areaId = areaId; |
| | | this.locId = locId; |
| | | this.status = status; |
| | | this.deleted = deleted; |
| | | this.tenantId = tenantId; |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getLocId$(){ |
| | | LocService service = SpringUtils.getBean(LocService.class); |
| | | Loc loc = service.getById(this.locId); |
| | | if (!Cools.isEmpty(loc)){ |
| | | return String.valueOf(loc.getCode()); |
| | | } |
| | | return null; |
| | | } |
| | | // public String getLocId$(){ |
| | | // LocService service = SpringUtils.getBean(LocService.class); |
| | | // Loc loc = service.getById(this.locId); |
| | | // if (!Cools.isEmpty(loc)){ |
| | | // return String.valueOf(loc.getCode()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |