Commit 13d2f877 authored by R10's avatar R10

Merge branch 'release_gdghg' of ssh://gitlab.gsstcloud.com:10022/poc/poc-api into release_gdghg

parents 2a96c4ef 63ef41ca
...@@ -207,7 +207,9 @@ public class AirportConsumerServiceImpl implements AirportConsumerService { ...@@ -207,7 +207,9 @@ public class AirportConsumerServiceImpl implements AirportConsumerService {
bizAiDataAuditTaskEntity.setStatus("end"); bizAiDataAuditTaskEntity.setStatus("end");
bizAiDataAuditTaskService.update(bizAiDataAuditTaskEntity); bizAiDataAuditTaskService.update(bizAiDataAuditTaskEntity);
} catch (Exception e) { } catch (Exception e) {
throw new BusinessException(e.getMessage()); redisService.set("ERROR_MSG_AI_DATA_AUDIT_TASK:" + message.getTaskId(), e.getMessage(), 60 * 60 * 24 * 7);
bizAiDataAuditTaskEntity.setStatus("fail");
bizAiDataAuditTaskService.update(bizAiDataAuditTaskEntity);
} }
} }
...@@ -465,7 +467,7 @@ public class AirportConsumerServiceImpl implements AirportConsumerService { ...@@ -465,7 +467,7 @@ public class AirportConsumerServiceImpl implements AirportConsumerService {
String templateName = DataAuditEnum.getTemplateNameByCode(secondFile); String templateName = DataAuditEnum.getTemplateNameByCode(secondFile);
auditResultDto.setRiskAnalysis(templateName + " file has not been submitted."); auditResultDto.setRiskAnalysis(templateName + " file has not been submitted.");
auditResultDto.setRiskDescription(ruleDesc); auditResultDto.setRiskDescription(ruleDesc);
auditResultDto.setModificationSuggestions("Please submitt " + templateName + " file"); auditResultDto.setModificationSuggestions("Please submit " + templateName + " file");
results.add(auditResultDto); results.add(auditResultDto);
} }
} else { } else {
...@@ -474,7 +476,7 @@ public class AirportConsumerServiceImpl implements AirportConsumerService { ...@@ -474,7 +476,7 @@ public class AirportConsumerServiceImpl implements AirportConsumerService {
auditResultDto.setRiskTitle(aiDataAuditRuleQueryItem.getTitle()); auditResultDto.setRiskTitle(aiDataAuditRuleQueryItem.getTitle());
auditResultDto.setRiskAnalysis("Work Permit Application Details or Work Permit Extension Details has not been submitted"); auditResultDto.setRiskAnalysis("Work Permit Application Details or Work Permit Extension Details has not been submitted");
auditResultDto.setRiskDescription("file has not been submitted"); auditResultDto.setRiskDescription("file has not been submitted");
auditResultDto.setModificationSuggestions("Please submitt Work Permit Application Details or Work Permit Extension Details file"); auditResultDto.setModificationSuggestions("Please submit Work Permit Application Details or Work Permit Extension Details file");
results.add(auditResultDto); results.add(auditResultDto);
} }
countDownLatch.countDown(); countDownLatch.countDown();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment