修改投资规划比较生命周期代码

master
xiaoCJ 4 months ago
parent 409c68b0d4
commit 83fe991018

@ -1469,7 +1469,7 @@ public class CaseServiceImpl implements CaseService {
//比较正确答案 //比较正确答案
List<CaseRetirementPlan> newCaseRetirementPlans = caseRetirementPlanMapper.selectByExampleWithBLOBs(caseRetirementPlanExample); List<CaseRetirementPlan> newCaseRetirementPlans = caseRetirementPlanMapper.selectByExampleWithBLOBs(caseRetirementPlanExample);
CaseRetirementPlan caseRetirementPlan = newCaseRetirementPlans.get(0); CaseRetirementPlan caseRetirementPlan = newCaseRetirementPlans.get(0);
wrongCount = getCaseRetirementPlanWrongCount(wrongCount,caseRetirementPlan); wrongCount = getCaseRetirementPlanWrongCount(wrongCount, caseRetirementPlan);
setCount(stuTrainingWithBLOBs, wrongCount); setCount(stuTrainingWithBLOBs, wrongCount);
} }
} }
@ -1736,8 +1736,8 @@ public class CaseServiceImpl implements CaseService {
if (caseInvestmentPlans != null && !caseInvestmentPlans.isEmpty()) { if (caseInvestmentPlans != null && !caseInvestmentPlans.isEmpty()) {
CaseInvestmentPlan investmentPlan = caseInvestmentPlans.get(0); CaseInvestmentPlan investmentPlan = caseInvestmentPlans.get(0);
//当前客户所处家庭生命周期 //当前客户所处家庭生命周期
if (investmentPlan.getLifeCycleId() != null) { if (StringUtils.isNotBlank(investmentPlan.getLifeCycleId())) {
if (stuInvestmentPlan.getLifeCycleId() == null || !stuInvestmentPlan.getLifeCycleId().equals(investmentPlan.getLifeCycleId())) { if (StringUtils.isNotBlank(stuInvestmentPlan.getLifeCycleId()) || !stuInvestmentPlan.getLifeCycleId().equals(investmentPlan.getLifeCycleId())) {
wrongCount += 1; wrongCount += 1;
} }
} }

Loading…
Cancel
Save