| | |
| | | @TableField("ctn_no") |
| | | private String ctnNo; |
| | | |
| | | // 消防点编号 |
| | | @ApiModelProperty(value= "") |
| | | @TableField("fire_no") |
| | | private String fireNo; |
| | | |
| | | // 消防状态{0:正常,1:报警} |
| | | @ApiModelProperty(value= "") |
| | | @TableField("fire_status") |
| | | private Integer fireStatus; |
| | | |
| | | // 产品状态{0:无,1:待测,2:测试中;3.测试完成;4.静置中;5:静置完成} |
| | | @ApiModelProperty(value= "") |
| | | @TableField("pack_status") |
| | | private Integer packStatus; |
| | | |
| | | |
| | | public String getWhsType$(){ |
| | | BasWhsService service = SpringUtils.getBean(BasWhsService.class); |
| | |
| | | case 0: |
| | | return "未知"; |
| | | case 1: |
| | | return "低库位"; |
| | | return "测试库位"; |
| | | case 2: |
| | | return "高库位"; |
| | | return "静置库位"; |
| | | default: |
| | | return String.valueOf(this.locType1); |
| | | } |
| | |
| | | if (null == this.locType2){ return null; } |
| | | switch (this.locType2){ |
| | | case 0: |
| | | return "未知"; |
| | | return "无设备"; |
| | | case 1: |
| | | return "窄库位"; |
| | | return "1号设备"; |
| | | case 2: |
| | | return "宽库位"; |
| | | return "2号设备"; |
| | | case 3: |
| | | return "3号设备"; |
| | | case 4: |
| | | return "4号设备"; |
| | | case 5: |
| | | return "5号设备"; |
| | | case 6: |
| | | return "6号设备"; |
| | | default: |
| | | return String.valueOf(this.locType2); |
| | | } |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); |
| | | } |
| | | |
| | | public String getFireStatus$() { |
| | | if (null == this.fireStatus){ return null; } |
| | | switch (this.fireStatus){ |
| | | case 0: |
| | | return "正常"; |
| | | case 1: |
| | | return "报警"; |
| | | default: |
| | | return String.valueOf(this.fireStatus); |
| | | } |
| | | } |
| | | |
| | | public String getPackStatus$() { |
| | | if (null == this.packStatus){ return null; } |
| | | switch (this.packStatus){ |
| | | case 0: |
| | | return "无"; |
| | | case 1: |
| | | return "待测"; |
| | | case 2: |
| | | return "测试中"; |
| | | case 3: |
| | | return "测试完成"; |
| | | case 4: |
| | | return "静置中"; |
| | | case 5: |
| | | return "静置完成"; |
| | | default: |
| | | return String.valueOf(this.packStatus); |
| | | } |
| | | } |
| | | |
| | | } |