| | |
| | | throw new CoolException("TaskStsType Error!!!"); |
| | | } |
| | | |
| | | public static TaskStsType queryById(Long id) { |
| | | TaskStsService taskStsService = SpringUtils.getBean(TaskStsService.class); |
| | | TaskSts taskSts = taskStsService.getById(id); |
| | | if (taskSts == null) { |
| | | throw new CoolException("TaskStsType Error!!!"); |
| | | } |
| | | return query(Long.valueOf(taskSts.getUuid())); |
| | | } |
| | | |
| | | public Long getId() { |
| | | TaskStsService taskStsService = SpringUtils.getBean(TaskStsService.class); |
| | | TaskSts taskSts = taskStsService.getOne(new LambdaQueryWrapper<TaskSts>() |