|
|
|
@ -166,7 +166,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseCashFlow.setCaseCashFlowId(IdUtil.randomUUID());
|
|
|
|
|
caseCashFlowMapper.insert(caseCashFlow);
|
|
|
|
|
} else {
|
|
|
|
|
caseCashFlowMapper.updateByPrimaryKeySelective(caseCashFlow);
|
|
|
|
|
caseCashFlowMapper.updateByPrimaryKey(caseCashFlow);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -181,7 +181,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseCashPlan.setCaseCashPlanId(IdUtil.randomUUID());
|
|
|
|
|
caseCashPlanMapper.insert(caseCashPlan);
|
|
|
|
|
} else {
|
|
|
|
|
caseCashPlanMapper.updateByPrimaryKeySelective(caseCashPlan);
|
|
|
|
|
caseCashPlanMapper.updateByPrimaryKeyWithBLOBs(caseCashPlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -195,7 +195,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseConsumptionPlan.setCaseConsumptionPlanId(IdUtil.randomUUID());
|
|
|
|
|
caseConsumptionPlanMapper.insert(caseConsumptionPlan);
|
|
|
|
|
} else {
|
|
|
|
|
caseConsumptionPlanMapper.updateByPrimaryKeySelective(caseConsumptionPlan);
|
|
|
|
|
caseConsumptionPlanMapper.updateByPrimaryKeyWithBLOBs(caseConsumptionPlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -209,7 +209,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseDistributionOfProperty.setCaseDistributionOfPropertyId(IdUtil.randomUUID());
|
|
|
|
|
caseDistributionOfPropertyMapper.insert(caseDistributionOfProperty);
|
|
|
|
|
} else {
|
|
|
|
|
caseDistributionOfPropertyMapper.updateByPrimaryKeySelective(caseDistributionOfProperty);
|
|
|
|
|
caseDistributionOfPropertyMapper.updateByPrimaryKeyWithBLOBs(caseDistributionOfProperty);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -223,7 +223,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseFinanceLiability.setCaseFinanceLiabilityId(IdUtil.randomUUID());
|
|
|
|
|
caseFinanceLiabilityMapper.insert(caseFinanceLiability);
|
|
|
|
|
} else {
|
|
|
|
|
caseFinanceLiabilityMapper.updateByPrimaryKeySelective(caseFinanceLiability);
|
|
|
|
|
caseFinanceLiabilityMapper.updateByPrimaryKey(caseFinanceLiability);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -237,7 +237,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseFinancialRatios.setCaseid(caseId);
|
|
|
|
|
caseFinancialRatiosMapper.insert(caseFinancialRatios);
|
|
|
|
|
} else {
|
|
|
|
|
caseFinancialRatiosMapper.updateByPrimaryKeySelective(caseFinancialRatios);
|
|
|
|
|
caseFinancialRatiosMapper.updateByPrimaryKeyWithBLOBs(caseFinancialRatios);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -251,7 +251,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseHeritage.setCaseid(caseId);
|
|
|
|
|
caseHeritageMapper.insert(caseHeritage);
|
|
|
|
|
} else {
|
|
|
|
|
caseHeritageMapper.updateByPrimaryKeySelective(caseHeritage);
|
|
|
|
|
caseHeritageMapper.updateByPrimaryKeyWithBLOBs(caseHeritage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -265,7 +265,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseIncomeAndExpenses.setCaseid(caseId);
|
|
|
|
|
caseIncomeAndExpensesMapper.insert(caseIncomeAndExpenses);
|
|
|
|
|
} else {
|
|
|
|
|
caseIncomeAndExpensesMapper.updateByPrimaryKeySelective(caseIncomeAndExpenses);
|
|
|
|
|
caseIncomeAndExpensesMapper.updateByPrimaryKey(caseIncomeAndExpenses);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -279,7 +279,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseInvestmentPlan.setCaseId(caseId);
|
|
|
|
|
investmentPlanMapper.insert(caseInvestmentPlan);
|
|
|
|
|
} else {
|
|
|
|
|
investmentPlanMapper.updateByPrimaryKeySelective(caseInvestmentPlan);
|
|
|
|
|
investmentPlanMapper.updateByPrimaryKeyWithBLOBs(caseInvestmentPlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -293,7 +293,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseInsurancePlan.setCaseid(caseId);
|
|
|
|
|
caseInsurancePlanMapper.insert(caseInsurancePlan);
|
|
|
|
|
} else {
|
|
|
|
|
caseInsurancePlanMapper.updateByPrimaryKeySelective(caseInsurancePlan);
|
|
|
|
|
caseInsurancePlanMapper.updateByPrimaryKeyWithBLOBs(caseInsurancePlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -307,7 +307,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseLifeEducationPlan.setCaseid(caseId);
|
|
|
|
|
caseLifeEducationPlanMapper.insert(caseLifeEducationPlan);
|
|
|
|
|
} else {
|
|
|
|
|
caseLifeEducationPlanMapper.updateByPrimaryKeySelective(caseLifeEducationPlan);
|
|
|
|
|
caseLifeEducationPlanMapper.updateByPrimaryKeyWithBLOBs(caseLifeEducationPlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -321,7 +321,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseRetirementPlan.setCaseid(caseId);
|
|
|
|
|
caseRetirementPlanMapper.insert(caseRetirementPlan);
|
|
|
|
|
} else {
|
|
|
|
|
caseRetirementPlanMapper.updateByPrimaryKeySelective(caseRetirementPlan);
|
|
|
|
|
caseRetirementPlanMapper.updateByPrimaryKeyWithBLOBs(caseRetirementPlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -336,7 +336,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseRiskIndex.setCaseid(caseId);
|
|
|
|
|
caseRiskIndexMapper.insert(caseRiskIndex);
|
|
|
|
|
} else {
|
|
|
|
|
caseRiskIndexMapper.updateByPrimaryKeySelective(caseRiskIndex);
|
|
|
|
|
caseRiskIndexMapper.updateByPrimaryKey(caseRiskIndex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -350,7 +350,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseStartAnUndertakingPlan.setCaseid(caseId);
|
|
|
|
|
caseStartAnUndertakingPlanMapper.insert(caseStartAnUndertakingPlan);
|
|
|
|
|
} else {
|
|
|
|
|
caseStartAnUndertakingPlanMapper.updateByPrimaryKeySelective(caseStartAnUndertakingPlan);
|
|
|
|
|
caseStartAnUndertakingPlanMapper.updateByPrimaryKeyWithBLOBs(caseStartAnUndertakingPlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -364,7 +364,7 @@ public class CaseServiceImpl implements CaseService {
|
|
|
|
|
caseTaxPlan.setCaseid(caseId);
|
|
|
|
|
caseTaxPlanMapper.insert(caseTaxPlan);
|
|
|
|
|
} else {
|
|
|
|
|
caseTaxPlanMapper.updateByPrimaryKeySelective(caseTaxPlan);
|
|
|
|
|
caseTaxPlanMapper.updateByPrimaryKeyWithBLOBs(caseTaxPlan);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|