| | |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("man_bus") |
| | |
| | | private String memo; |
| | | |
| | | @TableField(exist = false) |
| | | private int tasksNum; |
| | | private int tasksNum = 0; |
| | | |
| | | @TableField(exist = false) |
| | | private int tasksNumTotal = 0; |
| | | |
| | | @TableField(exist = false) |
| | | private List<Long> taskIds; |
| | | |
| | | public String getBusSts$(){ |
| | | BusStsService service = SpringUtils.getBean(BusStsService.class); |
| | |
| | | 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 String getBusStsEl(){ |
| | | BusStsService service = SpringUtils.getBean(BusStsService.class); |
| | | BusSts busSts = service.getById(this.busSts); |
| | | if (!Cools.isEmpty(busSts)){ |
| | | return String.valueOf(busSts.getUuid()); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | |
| | | |
| | | public Boolean getStatusBool(){ |
| | | if (null == this.status){ return null; } |