| | |
| | | /** |
| | | * 设备编号 |
| | | */ |
| | | @ApiModelProperty(value= "设备编号") |
| | | @ApiModelProperty(value= "接驳位") |
| | | private String deviceCode; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | @ApiModelProperty("源库区") |
| | | private Long areaIdStart; |
| | | |
| | | @ApiModelProperty("目标库区") |
| | | private Long areaIdEnd; |
| | | |
| | | public DeviceSite() {} |
| | | |
| | | public DeviceSite(String type,String site,String name,String wcsCode,String label,String device,String deviceCode,String deviceSite,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | |
| | | // ); |
| | | |
| | | |
| | | public String getSite$() { |
| | | if (this.site == null) {return null;} |
| | | BasStationService service = SpringUtils.getBean(BasStationService.class); |
| | | BasStation station = service.getOne(new LambdaQueryWrapper<BasStation>().eq(BasStation::getStationName, this.site)); |
| | | if (Objects.isNull(station)) {return null;} |
| | | return station.getStationName(); |
| | | } |
| | | |
| | | public String getDeviceSite$() { |
| | | if (this.deviceSite == null) {return null;} |
| | | BasStationService service = SpringUtils.getBean(BasStationService.class); |
| | | BasStation station = service.getById(this.deviceSite); |
| | | if (Objects.isNull(station)) {return null;} |
| | | return station.getStationName(); |
| | | } |
| | | // public String getSite$() { |
| | | // if (this.site == null) {return null;} |
| | | // BasStationService service = SpringUtils.getBean(BasStationService.class); |
| | | // BasStation station = service.getOne(new LambdaQueryWrapper<BasStation>().eq(BasStation::getStationName, this.site)); |
| | | // if (Objects.isNull(station)) {return null;} |
| | | // return station.getStationName(); |
| | | // } |
| | | // |
| | | // public String getDeviceSite$() { |
| | | // if (this.deviceSite == null) {return null;} |
| | | // BasStationService service = SpringUtils.getBean(BasStationService.class); |
| | | // BasStation station = service.getById(this.deviceSite); |
| | | // if (Objects.isNull(station)) {return null;} |
| | | // return station.getStationName(); |
| | | // } |
| | | |
| | | public String getType$(){ |
| | | if (null == this.type){ return null; } |