| | |
| | | private Long wrkNo; |
| | | |
| | | /** |
| | | * rvg号 |
| | | */ |
| | | @ApiModelProperty(value = "RGV编号") |
| | | @TableField("rgv_no") |
| | | private Integer rgvNo; |
| | | |
| | | /** |
| | | * 工位号 |
| | | */ |
| | | @ApiModelProperty(value = "工位号") |
| | | @TableField("work_sta") |
| | | private Integer workSta; |
| | | |
| | | /** |
| | | * 工作档开始位置 |
| | | */ |
| | | @ApiModelProperty(value = "工作档开始位置") |
| | |
| | | this.wrkNo = wrkMast.getWrkNo().longValue(); |
| | | this.wrkStart = wrkMast.getSourceStaNo(); |
| | | this.wrkEnd = wrkMast.getStaNo(); |
| | | this.staStart = basDevp.getDevNo(); |
| | | this.staStart = getStaSta(basDevp.getDevNo()); |
| | | this.staEnd = getStaEnd(wrkMast.getStaNo()); |
| | | this.createTime = now; |
| | | this.updateTime = now; |
| | |
| | | } |
| | | } |
| | | |
| | | public Integer getStaSta(Integer souSta) { |
| | | switch (souSta) { |
| | | case 1043: return 1042; |
| | | case 1104: return 1105; |
| | | case 1005: return 1007; |
| | | case 1008: return 1010; |
| | | case 1019: return 1021; |
| | | case 1022: return 1024; |
| | | case 1029: return 1031; |
| | | case 2001: return 2003; |
| | | case 2007: return 2009; |
| | | case 2013: return 2015; |
| | | case 2019: return 2021; |
| | | case 2025: return 2027; |
| | | default: |
| | | return souSta; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | public String getType$() { |
| | | if (Cools.isEmpty(this.type)) { |
| | | return ""; |