|  |  | 
 |  |  | package com.zy.acs.manager.manager.entity; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
 |  |  | import com.zy.acs.framework.common.Cools; | 
 |  |  | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | import java.util.Date; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | @TableName("man_bus") | 
 |  |  | 
 |  |  |     @ApiModelProperty(value= "备注") | 
 |  |  |     private String memo; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     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); | 
 |  |  |         BusSts busSts = service.getById(this.busSts); | 
 |  |  | 
 |  |  |         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; } |