Commit bc19771d by zhouhaibao

refactor(strategy): 移除策略执行详情查询接口

- 删除 getSopStrategyRecordDetail 方法及其相关注解
- 移除 SopStrategyRecordDetailRequest 参数处理逻辑
- 清理 RPC 调用和异常处理代码
- 移除相关的日志记录和错误处理机制
1 parent d0cfbb9e
......@@ -50,23 +50,4 @@ public class StrategySopRecordController {
}
}
@ApiOperation("查询策略执行详情")
@ServiceMethod(method = "dj.api.smartcarlife.sop.strategy.record.detail")
public RopResponse<SopStrategyRecordDetailDTO> getSopStrategyRecordDetail(SopStrategyRecordDetailRequest request) {
try {
log.info("查询策略执行详情:{}", request);
RpcResponse<SopStrategyRecordDetailDTO> response = sopStrategyRemote.getSopStrategyRecordDetail(request.getRecordId());
if (response.isFailed()) {
log.error("查询策略执行详情失败: {}", response.getMessage());
throw new RpcServiceException(response.getError(), response.getMessage());
}
return RopResponse.success(response.getResult());
} catch (RpcServiceException e) {
log.error("dj.api.smartcarlife.sop.strategy.record.detail rpcServiceException:{}", e.getMessage());
return RopResponse.error(e);
} catch (Exception e) {
log.error("dj.api.smartcarlife.sop.strategy.record.detail exception", e);
return RopResponse.result(DefaultErrorEnum.SERVICE_ERROR);
}
}
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!