Browse Source

并入调整

master
583641232@qq.com 1 year ago
parent
commit
ff6fa0036a
  1. 11
      cas-system/src/main/java/com/inscloudtech/datacenter/service/QueryCenterService.java

11
cas-system/src/main/java/com/inscloudtech/datacenter/service/QueryCenterService.java

@ -1401,10 +1401,11 @@ public class QueryCenterService {
} }
private static final List<Class> SERVICE_LIST_MERGE = Arrays.asList(BankService.class, OpeningAccountInfoService.class,ITransactionPartnerService.class, IPublicFamilyService.class,
private static final List<Class> SERVICE_LIST_MERGE = Arrays.asList(BankService.class, OpeningAccountInfoService.class,
ITransactionPartnerService.class, IPublicFamilyService.class,
IRealEstateService.class, ICarInfoService.class,IOtherAssetsService.class,IOtherInformationService.class, IAnalysisResultService.class, IRealEstateService.class, ICarInfoService.class,IOtherAssetsService.class,IOtherInformationService.class, IAnalysisResultService.class,
IAnalysisReportService.class, CollectionInformation.class,
PlateNumberInfo.class);
IAnalysisReportService.class, CollectionInformationService.class,
PlateNumberService.class);
public void caseMerge(AnalysisDto bo) { public void caseMerge(AnalysisDto bo) {
@ -1417,7 +1418,7 @@ public class QueryCenterService {
String targetCaseId = bo.getTargetCaseId(); String targetCaseId = bo.getTargetCaseId();
for (Integer moduleIndex : moduleIndexList) { for (Integer moduleIndex : moduleIndexList) {
try {
Class<?> serviceClass = SERVICE_LIST_MERGE.get(moduleIndex); Class<?> serviceClass = SERVICE_LIST_MERGE.get(moduleIndex);
Object serviceObj = SpringUtils.getBean(serviceClass); Object serviceObj = SpringUtils.getBean(serviceClass);
String methodName = "caseMerge"; String methodName = "caseMerge";
@ -1425,7 +1426,7 @@ public class QueryCenterService {
Method method = methodList.get(0);// Method method = methodList.get(0);//
Object[] args = new Object[]{sourceCaseId,targetCaseId}; Object[] args = new Object[]{sourceCaseId,targetCaseId};
try {
method.invoke(serviceObj, args); method.invoke(serviceObj, args);
}catch (Exception e){ }catch (Exception e){
e.printStackTrace(); e.printStackTrace();

Loading…
Cancel
Save