| | |
| | | BusService service = SpringUtils.getBean(BusService.class); |
| | | Bus bus = service.getById(this.busId); |
| | | if (!Cools.isEmpty(bus)){ |
| | | return String.valueOf(bus.getUuid()); |
| | | return String.valueOf(bus.getBusNo()); |
| | | } |
| | | return null; |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | public String getDeleted$(){ |
| | | if (null == this.deleted){ return null; } |
| | | switch (this.deleted){ |
| | | public Boolean getStatusBool(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | | case 1: |
| | | return "是"; |
| | | return true; |
| | | case 0: |
| | | return "否"; |
| | | return false; |
| | | default: |
| | | return String.valueOf(this.deleted); |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |