|
|
|
@ -200,7 +200,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
stuBaseInfoMapper.updateByPrimaryKeySelective(stuBaseInfo);
|
|
|
|
|
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(stuBaseInfo.getUserId(),"基本信息", BigDecimal.valueOf(24-stuBaseInfo.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(stuBaseInfo.getUserId(),"企业征信", BigDecimal.valueOf(24-stuBaseInfo.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",stuBaseInfo.getErrorNumber());
|
|
|
|
|
|
|
|
|
@ -213,7 +213,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
//插入数据库
|
|
|
|
|
stuBaseInfoMapper.insertSelective(stuBaseInfo);
|
|
|
|
|
|
|
|
|
|
stuPersonalCreditService.scoreEntry(stuBaseInfo.getUserId(),"基本信息", BigDecimal.valueOf(24-stuBaseInfo.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(stuBaseInfo.getUserId(),"企业征信", BigDecimal.valueOf(24-stuBaseInfo.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",stuBaseInfo.getErrorNumber());
|
|
|
|
|
}
|
|
|
|
@ -318,7 +318,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
creditRecordsMapper.updateByPrimaryKeySelective(creditRecords);
|
|
|
|
|
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(creditRecords.getUserId(),"信贷记录", BigDecimal.valueOf(16-creditRecords.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(creditRecords.getUserId(),"企业征信", BigDecimal.valueOf(16-creditRecords.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -333,7 +333,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
creditRecords.setCreateTime(new Date());
|
|
|
|
|
creditRecordsMapper.insertSelective(creditRecords);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(creditRecords.getUserId(),"信贷记录", BigDecimal.valueOf(16-creditRecords.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(creditRecords.getUserId(),"企业征信", BigDecimal.valueOf(16-creditRecords.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",creditRecords.getErrorNumber());
|
|
|
|
|
|
|
|
|
@ -497,7 +497,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
profitAbilityMapper.updateByPrimaryKeySelective(profitAbility);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
|
|
|
|
|
stuPersonalCreditService.scoreEntry(profitAbility.getUserId(),"盈利能力", BigDecimal.valueOf(7-profitAbility.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(profitAbility.getUserId(),"企业征信", BigDecimal.valueOf(7-profitAbility.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",profitAbility.getErrorNumber());
|
|
|
|
@ -511,7 +511,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
//插入数据库
|
|
|
|
|
profitAbilityMapper.insertSelective(profitAbility);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(profitAbility.getUserId(),"盈利能力", BigDecimal.valueOf(7-profitAbility.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(profitAbility.getUserId(),"企业征信", BigDecimal.valueOf(7-profitAbility.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",profitAbility.getErrorNumber());
|
|
|
|
|
}
|
|
|
|
@ -587,7 +587,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
|
|
|
|
|
stuPersonalCreditService.scoreEntry(solvency.getUserId(),"偿债能力", BigDecimal.valueOf(7-solvency.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(solvency.getUserId(),"企业征信", BigDecimal.valueOf(7-solvency.getErrorNumber()));
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",solvency.getErrorNumber());
|
|
|
|
|
|
|
|
|
|
}else {
|
|
|
|
@ -598,7 +598,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
|
|
|
|
|
solvencyMapper.insertSelective(solvency);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(solvency.getUserId(),"偿债能力", BigDecimal.valueOf(7-solvency.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(solvency.getUserId(),"企业征信", BigDecimal.valueOf(7-solvency.getErrorNumber()));
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",solvency.getErrorNumber());
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
@ -672,7 +672,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
operatingCapacity.setId(operatingCapacityList.get(0).getId());
|
|
|
|
|
operatingCapacityMapper.updateByPrimaryKeySelective(operatingCapacity);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(operatingCapacity.getUserId(),"营运能力", BigDecimal.valueOf(8-operatingCapacity.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(operatingCapacity.getUserId(),"企业征信", BigDecimal.valueOf(8-operatingCapacity.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",operatingCapacity.getErrorNumber());
|
|
|
|
|
|
|
|
|
@ -685,7 +685,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
//插入数据库
|
|
|
|
|
operatingCapacityMapper.insertSelective(operatingCapacity);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(operatingCapacity.getUserId(),"营运能力", BigDecimal.valueOf(8-operatingCapacity.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(operatingCapacity.getUserId(),"企业征信", BigDecimal.valueOf(8-operatingCapacity.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",operatingCapacity.getErrorNumber());
|
|
|
|
|
}
|
|
|
|
@ -765,7 +765,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
growthAbilityMapper.updateByPrimaryKeySelective(growthAbility);
|
|
|
|
|
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(growthAbility.getUserId(),"成长能力", BigDecimal.valueOf(1-growthAbility.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(growthAbility.getUserId(),"企业征信", BigDecimal.valueOf(1-growthAbility.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -779,7 +779,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
//插入数据库
|
|
|
|
|
growthAbilityMapper.insertSelective(growthAbility);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(growthAbility.getUserId(),"成长能力", BigDecimal.valueOf(1-growthAbility.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(growthAbility.getUserId(),"企业征信", BigDecimal.valueOf(1-growthAbility.getErrorNumber()));
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",growthAbility.getErrorNumber());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -855,7 +855,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
duPontAnalysisMapper.updateByPrimaryKeySelective(duPontAnalysis);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
|
|
|
|
|
stuPersonalCreditService.scoreEntry(duPontAnalysis.getUserId(),"杜邦分析", BigDecimal.valueOf(4-duPontAnalysis.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(duPontAnalysis.getUserId(),"企业征信", BigDecimal.valueOf(4-duPontAnalysis.getErrorNumber()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",duPontAnalysis.getErrorNumber());
|
|
|
|
@ -868,7 +868,7 @@ public class StuEnterPriseByInfoEntryServiceImpl implements StuEnterPriseByInfoE
|
|
|
|
|
//插入数据库
|
|
|
|
|
duPontAnalysisMapper.insertSelective(duPontAnalysis);
|
|
|
|
|
//计算分数写入用户表
|
|
|
|
|
stuPersonalCreditService.scoreEntry(duPontAnalysis.getUserId(),"杜邦分析", BigDecimal.valueOf(4-duPontAnalysis.getErrorNumber()));
|
|
|
|
|
stuPersonalCreditService.scoreEntry(duPontAnalysis.getUserId(),"企业征信", BigDecimal.valueOf(4-duPontAnalysis.getErrorNumber()));
|
|
|
|
|
return new ResultEntity<>(HttpStatus.OK,"保存成功!",duPontAnalysis.getErrorNumber());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|