| | |
| | | import com.zy.acs.manager.manager.service.AgvService; |
| | | import com.zy.acs.manager.manager.service.CodeService; |
| | | import com.zy.acs.manager.manager.service.TaskService; |
| | | import com.zy.acs.manager.manager.service.TravelService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public String getTravelId$(){ |
| | | TravelService service = SpringUtils.getBean(TravelService.class); |
| | | Travel travel = service.getById(this.travelId); |
| | | if (!Cools.isEmpty(travel)){ |
| | | return String.valueOf(travel.getUuid()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getTaskId$(){ |
| | | TaskService service = SpringUtils.getBean(TaskService.class); |
| | | Task task = service.getById(this.taskId); |
| | |
| | | return null; |
| | | } |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | | case 1: |
| | | return "正常"; |
| | | case 0: |
| | | return "冻结"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | public Boolean getStatusBool(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | |
| | | } |
| | | } |
| | | |
| | | } |
| | | public String getSegDesc() { |
| | | |
| | | return ""; |
| | | } |
| | | |
| | | } |