| | |
| | | @TableField("crn_no") |
| | | private Integer crnNo; |
| | | |
| | | |
| | | /** |
| | | * 徐工汉云拆垛标记 0: 初始 1、未拆已上报 2: 已拆 3:已处理可下一步(转历史档) |
| | | */ |
| | | @ApiModelProperty(value= "") |
| | | @TableField("sheet_no") |
| | | private String sheetNo; |
| | |
| | | } |
| | | |
| | | public String getStaNo$(){ |
| | | BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | BasDevp basDevp = service.selectById(this.staNo); |
| | | if (!Cools.isEmpty(basDevp)){ |
| | | return String.valueOf(basDevp.getDevNo()); |
| | | } |
| | | return null; |
| | | // BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | // BasDevp basDevp = service.selectById(this.staNo); |
| | | // if (!Cools.isEmpty(basDevp)){ |
| | | // return String.valueOf(basDevp.getDevNo()); |
| | | // } |
| | | return String.valueOf(this.staNo); |
| | | } |
| | | |
| | | public String getSourceStaNo$(){ |
| | | BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | BasDevp basDevp = service.selectById(this.sourceStaNo); |
| | | if (!Cools.isEmpty(basDevp)){ |
| | | return String.valueOf(basDevp.getDevNo()); |
| | | } |
| | | return null; |
| | | |
| | | // BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | // BasDevp basDevp = service.selectById(this.sourceStaNo); |
| | | // if (!Cools.isEmpty(basDevp)){ |
| | | // return String.valueOf(basDevp.getDevNo()); |
| | | // } |
| | | return String.valueOf(this.sourceStaNo); |
| | | } |
| | | |
| | | public String getSourceLocNo$(){ |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); |
| | | } |
| | | |
| | | public void setErrorMemo(String errorMemo) { |
| | | if (errorMemo.length() > 255) { |
| | | errorMemo = errorMemo.substring(0, 150); |
| | | } |
| | | this.errorMemo = errorMemo; |
| | | } |
| | | // public void setErrorMemo(String errorMemo) { |
| | | // if (errorMemo.length() > 255) { |
| | | // errorMemo = errorMemo.substring(0, 150); |
| | | // } |
| | | // this.errorMemo = errorMemo; |
| | | // } |
| | | |
| | | public String getLogErrTime$(){ |
| | | if (Cools.isEmpty(this.logErrTime)){ |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime); |
| | | } |
| | | |
| | | public String getSheetNo$(){ |
| | | if (null == this.sheetNo){ return "未知"; } |
| | | switch (this.sheetNo){ |
| | | case "0": |
| | | return "默认"; |
| | | case "1": |
| | | return "机械臂抓取中"; |
| | | case "2": |
| | | return "抓取完成"; |
| | | case "3": |
| | | return "任务完成"; |
| | | case "4": |
| | | return "机械臂抓取中"; |
| | | case "5": |
| | | return "码垛完成"; |
| | | default: |
| | | return this.sheetNo; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |