|  |  | 
 |  |  | import java.util.*; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.vincent.rsf.server.manager.service.BasStationService; | 
 |  |  | import com.vincent.rsf.server.manager.service.LocTypeService; | 
 |  |  | import com.vincent.rsf.server.system.constant.DictTypeCode; | 
 |  |  | import com.vincent.rsf.server.system.entity.DictData; | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * wcs站点编号 | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "wcs站点编号") | 
 |  |  |     private String wcsCode; | 
 |  |  |     @ApiModelProperty(value= "目标位置") | 
 |  |  |     private String target; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 站点标签 | 
 |  |  | 
 |  |  |     @TableLogic | 
 |  |  |     private Integer deleted; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value= "巷道") | 
 |  |  |     private Integer channel; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 租户 | 
 |  |  |      */ | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "添加时间") | 
 |  |  |     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | 
 |  |  |     private Date createTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value= "修改时间") | 
 |  |  |     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") | 
 |  |  |     private Date updateTime; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | 
 |  |  |         this.type = type; | 
 |  |  |         this.site = site; | 
 |  |  |         this.name = name; | 
 |  |  |         this.wcsCode = wcsCode; | 
 |  |  |         this.target = wcsCode; | 
 |  |  |         this.label = label; | 
 |  |  |         this.device = device; | 
 |  |  |         this.deviceCode = deviceCode; | 
 |  |  | 
 |  |  | //            null    // 备注 | 
 |  |  | //    ); | 
 |  |  |  | 
 |  |  |  | 
 |  |  | //    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; } | 
 |  |  |         String[] split = this.type.split(","); |