|  |  | 
 |  |  | import com.dy.pipIrrGlobal.pojoOp.OpeProcessingResult; | 
 |  |  | import com.dy.pipIrrGlobal.pojoOp.OpeWorkOrder; | 
 |  |  | import com.dy.pipIrrGlobal.voOp.VoProcessingResult; | 
 |  |  | import com.dy.pipIrrGlobal.voOp.VoTaskType; | 
 |  |  | import com.dy.pipIrrGlobal.voOp.VoWorkOrder; | 
 |  |  | import jakarta.validation.Valid; | 
 |  |  | import lombok.RequiredArgsConstructor; | 
 |  |  | 
 |  |  |  | 
 |  |  |         return BaseResponseUtils.buildSuccess(true) ; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取任务类型列表 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     @GetMapping(path = "/getTaskTypes") | 
 |  |  |     @SsoAop() | 
 |  |  |     public BaseResponse<List<VoTaskType>> getTaskTypes() { | 
 |  |  |         try { | 
 |  |  |             return BaseResponseUtils.buildSuccess(workOrderSv.getTaskTypes()); | 
 |  |  |         } catch (Exception e) { | 
 |  |  |             log.error("获取任务类型异常", e); | 
 |  |  |             return BaseResponseUtils.buildException(e.getMessage()); | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  | } |