| | |
| | | */ |
| | | @ApiModelProperty(value= "步序终点") |
| | | private String endStep; |
| | | @TableField(exist = false) |
| | | private String taskStatus$; |
| | | |
| | | @TableField(exist = false) |
| | | private String taskType$; |
| | | |
| | | |
| | | |
| | | public TaskLog() {} |
| | | |
| | |
| | | // ); |
| | | |
| | | public String getTaskStatus$(){ |
| | | if (Cools.isEmpty(this.taskStatus)) { |
| | | return null; |
| | | } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_TASK_STATUS) |
| | | .eq(DictData::getValue, this.taskStatus)); |
| | | if (Objects.isNull(dictDatas) || Objects.isNull(dictDatas.getLabel())) { |
| | | return null; |
| | | } |
| | | return dictDatas.getLabel(); |
| | | return this.taskStatus$; |
| | | } |
| | | |
| | | public String getTaskType$() { |
| | | if (Cools.isEmpty(this.taskType)) { |
| | | return null; |
| | | } |
| | | DictDataService dictDataService = SpringUtils.getBean(DictDataService.class); |
| | | DictData dictDatas = dictDataService.getOne(new LambdaQueryWrapper<DictData>() |
| | | .eq(DictData::getDictTypeCode, DictTypeCode.DICT_SYS_TASK_TYPE) |
| | | .eq(DictData::getValue, this.taskType)); |
| | | if (Cools.isEmpty(dictDatas)) { |
| | | return null; |
| | | } |
| | | return dictDatas.getLabel(); |
| | | return this.taskType$; |
| | | } |
| | | |
| | | public String getStartTime$(){ |