Search in sources :

Example 1 with CommandExecVO

use of com.orion.ops.entity.vo.CommandExecVO in project orion-ops by lijiahangmax.

the class CommandExecServiceImpl method execDetail.

@Override
public CommandExecVO execDetail(Long id) {
    CommandExecDO execDO = this.selectById(id);
    Valid.notNull(execDO, MessageConst.EXEC_TASK_ABSENT);
    CommandExecVO execVO = Converts.to(execDO, CommandExecVO.class);
    this.assembleExecData(Collections.singletonList(execVO), false);
    return execVO;
}
Also used : CommandExecVO(com.orion.ops.entity.vo.CommandExecVO) CommandExecDO(com.orion.ops.entity.domain.CommandExecDO)

Aggregations

CommandExecDO (com.orion.ops.entity.domain.CommandExecDO)1 CommandExecVO (com.orion.ops.entity.vo.CommandExecVO)1