fixTest
This commit is contained in:
@@ -37,6 +37,9 @@ public class KdzApiServiceImpl implements KdzApiService {
|
||||
throw new ServiceException("kdzBusinessId解析异常,请检查");
|
||||
}
|
||||
LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(Long.valueOf(lineId));
|
||||
if (Objects.isNull(lineInfoDO)){
|
||||
throw new ServiceException(ErrorCodeEnum.LINE_ID_IS_NOT_EXIST);
|
||||
}
|
||||
try {
|
||||
if (request.getAuditResult() == 1){
|
||||
AuditPassRequest auditPassRequest = new AuditPassRequest();
|
||||
@@ -53,7 +56,7 @@ public class KdzApiServiceImpl implements KdzApiService {
|
||||
commonService.getLineFlowService(auditRejectRequest.getWorkflowSubStage()).auditReject(auditRejectRequest);
|
||||
}
|
||||
}catch (Exception e){
|
||||
throw new ServiceException(e.getMessage());
|
||||
throw new ServiceException(ErrorCodeEnum.UNKNOWN);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user