|
|
@ -234,11 +234,12 @@ public class FdpTaskServiceImpl extends BaseServiceImpl<FdpTaskMapper, FdpTaskEn |
|
|
|
//诊断成功
|
|
|
|
//诊断成功
|
|
|
|
if (3 == req.getStatus()) { |
|
|
|
if (3 == req.getStatus()) { |
|
|
|
fdpSubmitResultDTO.setSuccess(1); |
|
|
|
fdpSubmitResultDTO.setSuccess(1); |
|
|
|
} else if (Func.isNotEmpty(req.getReasonId())) { |
|
|
|
|
|
|
|
fdpSubmitResultDTO.setRootCause(req.getReasonId()); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
return R.fail("诊断传送状态异常"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// else if (Func.isNotEmpty(req.getReasonId())) {
|
|
|
|
|
|
|
|
// fdpSubmitResultDTO.setRootCause(req.getReasonId());
|
|
|
|
|
|
|
|
// } else {
|
|
|
|
|
|
|
|
// return R.fail("诊断传送状态异常");
|
|
|
|
|
|
|
|
// }
|
|
|
|
if (Func.isNotEmpty(req.getReasonId())) { |
|
|
|
if (Func.isNotEmpty(req.getReasonId())) { |
|
|
|
fdpSubmitResultDTO.setRootCause(req.getReasonId()); |
|
|
|
fdpSubmitResultDTO.setRootCause(req.getReasonId()); |
|
|
|
} |
|
|
|
} |
|
|
|