| | |
| | | /** |
| | | * 堆垛机号 |
| | | */ |
| | | @ApiModelProperty(value= "堆垛机号") |
| | | @TableField("crn_no") |
| | | private Integer crnNo; |
| | | @ApiModelProperty(value= "设备号") |
| | | @TableField("device_no") |
| | | private Integer deviceNo; |
| | | |
| | | /** |
| | | * 堆垛机站点 |
| | | */ |
| | | @ApiModelProperty(value= "堆垛机站点") |
| | | private Integer crnStn; |
| | | @ApiModelProperty(value= "设备站点") |
| | | private Integer deviceStn; |
| | | |
| | | /** |
| | | * 备注 |
| | |
| | | |
| | | public StaDesc() {} |
| | | |
| | | public StaDesc(Integer typeNo,String typeDesc,Integer stnNo,String stnDesc,Integer crnNo,Integer crnStn,String memo,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Long hostId) { |
| | | public StaDesc(Integer typeNo,String typeDesc,Integer stnNo,String stnDesc,Integer deviceNo,Integer deviceStn,String memo,Long modiUser,Date modiTime,Long appeUser,Date appeTime,Long hostId) { |
| | | this.typeNo = typeNo; |
| | | this.typeDesc = typeDesc; |
| | | this.stnNo = stnNo; |
| | | this.stnDesc = stnDesc; |
| | | this.crnNo = crnNo; |
| | | this.crnStn = crnStn; |
| | | this.deviceNo = deviceNo; |
| | | this.deviceStn = deviceStn; |
| | | this.memo = memo; |
| | | this.modiUser = modiUser; |
| | | this.modiTime = modiTime; |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getCrnStn$(){ |
| | | public String getDeviceStn$(){ |
| | | BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | BasDevp basDevp = service.getById(this.crnStn); |
| | | BasDevp basDevp = service.getById(this.deviceStn); |
| | | if (!Cools.isEmpty(basDevp)){ |
| | | return String.valueOf(basDevp.getDevNo()); |
| | | } |