数字征信--第一轮测试提交(成绩中心展示)

master
@t2652009480 9 months ago
parent 1bc7102aa4
commit 9ab880bc87

@ -453,6 +453,10 @@ public class StuScoreCenterServiceImpl implements StuScoreCenterService {
if(stuScoreCenter.getModule().equals(Constant.CORPORATE_CREDIT)){ if(stuScoreCenter.getModule().equals(Constant.CORPORATE_CREDIT)){
stuScoreCenter.setScoreWeight(tchModuleWeith.getCaseCorporateCreditWeith()); stuScoreCenter.setScoreWeight(tchModuleWeith.getCaseCorporateCreditWeith());
} }
if(stuScoreCenter.getModule().equals(Constant.CREDIT_PORTRAIT) || stuScoreCenter.getModule().equals(Constant.PERSONAL_CREDIT)
|| stuScoreCenter.getModule().equals(Constant.CORPORATE_CREDIT) || stuScoreCenter.getModule().equals(Constant.COMPREHENSIVE_CASE)){
stuScoreCenter.setScoreWeight(BigDecimal.valueOf(0.25));
}
stuScoreCenterMapper.updateByPrimaryKey(stuScoreCenter); stuScoreCenterMapper.updateByPrimaryKey(stuScoreCenter);
} }

Loading…
Cancel
Save