diff --git a/src/main/resources/mapper/CaseConsumptionPlanMapper.xml b/src/main/resources/mapper/CaseConsumptionPlanMapper.xml
new file mode 100644
index 0000000..917053e
--- /dev/null
+++ b/src/main/resources/mapper/CaseConsumptionPlanMapper.xml
@@ -0,0 +1,879 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ case_consumption_plan_id, case_id, monthly_investment, available_assets, shop_house_year,
+ house_area, house_price, house_all_money, house_down_payment_percent, house_loan_year,
+ house_loan_rate, house_down_payment, house_total_amount, disposable_input, house_monthly_amount,
+ shop_car_year, car_type, car_price, car_down_payment_percent, car_loan_year, car_loan_rate,
+ purchase_tax, car_reg_fee, displacement, vehicle_and_vessel_tax, motor_vehicle_compulsory,
+ motor_vehicle_commercial, car_down_payment, car_total_amount, car_monthly_amount,
+ return_on_investment, lump_sum, month_regular_invest_amount, regular_year, financial_plan,
+ analysis_teacher_score, case_teacher_score, user_id, is_answer
+
+
+ analysis
+
+
+
+
+
+ delete from case_consumption_plan
+ where case_consumption_plan_id = #{caseConsumptionPlanId,jdbcType=VARCHAR}
+
+
+ delete from case_consumption_plan
+
+
+
+
+
+ insert into case_consumption_plan (case_consumption_plan_id, case_id, monthly_investment,
+ available_assets, shop_house_year, house_area,
+ house_price, house_all_money, house_down_payment_percent,
+ house_loan_year, house_loan_rate, house_down_payment,
+ house_total_amount, disposable_input, house_monthly_amount,
+ shop_car_year, car_type, car_price,
+ car_down_payment_percent, car_loan_year, car_loan_rate,
+ purchase_tax, car_reg_fee, displacement,
+ vehicle_and_vessel_tax, motor_vehicle_compulsory,
+ motor_vehicle_commercial, car_down_payment,
+ car_total_amount, car_monthly_amount, return_on_investment,
+ lump_sum, month_regular_invest_amount, regular_year,
+ financial_plan, analysis_teacher_score, case_teacher_score,
+ user_id, is_answer, analysis
+ )
+ values (#{caseConsumptionPlanId,jdbcType=VARCHAR}, #{caseId,jdbcType=VARCHAR}, #{monthlyInvestment,jdbcType=DECIMAL},
+ #{availableAssets,jdbcType=DECIMAL}, #{shopHouseYear,jdbcType=INTEGER}, #{houseArea,jdbcType=DECIMAL},
+ #{housePrice,jdbcType=DECIMAL}, #{houseAllMoney,jdbcType=DECIMAL}, #{houseDownPaymentPercent,jdbcType=DECIMAL},
+ #{houseLoanYear,jdbcType=INTEGER}, #{houseLoanRate,jdbcType=DECIMAL}, #{houseDownPayment,jdbcType=DECIMAL},
+ #{houseTotalAmount,jdbcType=DECIMAL}, #{disposableInput,jdbcType=DECIMAL}, #{houseMonthlyAmount,jdbcType=DECIMAL},
+ #{shopCarYear,jdbcType=INTEGER}, #{carType,jdbcType=VARCHAR}, #{carPrice,jdbcType=DECIMAL},
+ #{carDownPaymentPercent,jdbcType=DECIMAL}, #{carLoanYear,jdbcType=INTEGER}, #{carLoanRate,jdbcType=DECIMAL},
+ #{purchaseTax,jdbcType=DECIMAL}, #{carRegFee,jdbcType=DECIMAL}, #{displacement,jdbcType=INTEGER},
+ #{vehicleAndVesselTax,jdbcType=DECIMAL}, #{motorVehicleCompulsory,jdbcType=DECIMAL},
+ #{motorVehicleCommercial,jdbcType=DECIMAL}, #{carDownPayment,jdbcType=DECIMAL},
+ #{carTotalAmount,jdbcType=DECIMAL}, #{carMonthlyAmount,jdbcType=DECIMAL}, #{returnOnInvestment,jdbcType=DECIMAL},
+ #{lumpSum,jdbcType=DECIMAL}, #{monthRegularInvestAmount,jdbcType=DECIMAL}, #{regularYear,jdbcType=INTEGER},
+ #{financialPlan,jdbcType=VARCHAR}, #{analysisTeacherScore,jdbcType=DECIMAL}, #{caseTeacherScore,jdbcType=DECIMAL},
+ #{userId,jdbcType=VARCHAR}, #{isAnswer,jdbcType=VARCHAR}, #{analysis,jdbcType=LONGVARCHAR}
+ )
+
+
+ insert into case_consumption_plan
+
+
+ case_consumption_plan_id,
+
+
+ case_id,
+
+
+ monthly_investment,
+
+
+ available_assets,
+
+
+ shop_house_year,
+
+
+ house_area,
+
+
+ house_price,
+
+
+ house_all_money,
+
+
+ house_down_payment_percent,
+
+
+ house_loan_year,
+
+
+ house_loan_rate,
+
+
+ house_down_payment,
+
+
+ house_total_amount,
+
+
+ disposable_input,
+
+
+ house_monthly_amount,
+
+
+ shop_car_year,
+
+
+ car_type,
+
+
+ car_price,
+
+
+ car_down_payment_percent,
+
+
+ car_loan_year,
+
+
+ car_loan_rate,
+
+
+ purchase_tax,
+
+
+ car_reg_fee,
+
+
+ displacement,
+
+
+ vehicle_and_vessel_tax,
+
+
+ motor_vehicle_compulsory,
+
+
+ motor_vehicle_commercial,
+
+
+ car_down_payment,
+
+
+ car_total_amount,
+
+
+ car_monthly_amount,
+
+
+ return_on_investment,
+
+
+ lump_sum,
+
+
+ month_regular_invest_amount,
+
+
+ regular_year,
+
+
+ financial_plan,
+
+
+ analysis_teacher_score,
+
+
+ case_teacher_score,
+
+
+ user_id,
+
+
+ is_answer,
+
+
+ analysis,
+
+
+
+
+ #{caseConsumptionPlanId,jdbcType=VARCHAR},
+
+
+ #{caseId,jdbcType=VARCHAR},
+
+
+ #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ #{availableAssets,jdbcType=DECIMAL},
+
+
+ #{shopHouseYear,jdbcType=INTEGER},
+
+
+ #{houseArea,jdbcType=DECIMAL},
+
+
+ #{housePrice,jdbcType=DECIMAL},
+
+
+ #{houseAllMoney,jdbcType=DECIMAL},
+
+
+ #{houseDownPaymentPercent,jdbcType=DECIMAL},
+
+
+ #{houseLoanYear,jdbcType=INTEGER},
+
+
+ #{houseLoanRate,jdbcType=DECIMAL},
+
+
+ #{houseDownPayment,jdbcType=DECIMAL},
+
+
+ #{houseTotalAmount,jdbcType=DECIMAL},
+
+
+ #{disposableInput,jdbcType=DECIMAL},
+
+
+ #{houseMonthlyAmount,jdbcType=DECIMAL},
+
+
+ #{shopCarYear,jdbcType=INTEGER},
+
+
+ #{carType,jdbcType=VARCHAR},
+
+
+ #{carPrice,jdbcType=DECIMAL},
+
+
+ #{carDownPaymentPercent,jdbcType=DECIMAL},
+
+
+ #{carLoanYear,jdbcType=INTEGER},
+
+
+ #{carLoanRate,jdbcType=DECIMAL},
+
+
+ #{purchaseTax,jdbcType=DECIMAL},
+
+
+ #{carRegFee,jdbcType=DECIMAL},
+
+
+ #{displacement,jdbcType=INTEGER},
+
+
+ #{vehicleAndVesselTax,jdbcType=DECIMAL},
+
+
+ #{motorVehicleCompulsory,jdbcType=DECIMAL},
+
+
+ #{motorVehicleCommercial,jdbcType=DECIMAL},
+
+
+ #{carDownPayment,jdbcType=DECIMAL},
+
+
+ #{carTotalAmount,jdbcType=DECIMAL},
+
+
+ #{carMonthlyAmount,jdbcType=DECIMAL},
+
+
+ #{returnOnInvestment,jdbcType=DECIMAL},
+
+
+ #{lumpSum,jdbcType=DECIMAL},
+
+
+ #{monthRegularInvestAmount,jdbcType=DECIMAL},
+
+
+ #{regularYear,jdbcType=INTEGER},
+
+
+ #{financialPlan,jdbcType=VARCHAR},
+
+
+ #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ #{userId,jdbcType=VARCHAR},
+
+
+ #{isAnswer,jdbcType=VARCHAR},
+
+
+ #{analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update case_consumption_plan
+
+
+ case_consumption_plan_id = #{record.caseConsumptionPlanId,jdbcType=VARCHAR},
+
+
+ case_id = #{record.caseId,jdbcType=VARCHAR},
+
+
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+
+
+ available_assets = #{record.availableAssets,jdbcType=DECIMAL},
+
+
+ shop_house_year = #{record.shopHouseYear,jdbcType=INTEGER},
+
+
+ house_area = #{record.houseArea,jdbcType=DECIMAL},
+
+
+ house_price = #{record.housePrice,jdbcType=DECIMAL},
+
+
+ house_all_money = #{record.houseAllMoney,jdbcType=DECIMAL},
+
+
+ house_down_payment_percent = #{record.houseDownPaymentPercent,jdbcType=DECIMAL},
+
+
+ house_loan_year = #{record.houseLoanYear,jdbcType=INTEGER},
+
+
+ house_loan_rate = #{record.houseLoanRate,jdbcType=DECIMAL},
+
+
+ house_down_payment = #{record.houseDownPayment,jdbcType=DECIMAL},
+
+
+ house_total_amount = #{record.houseTotalAmount,jdbcType=DECIMAL},
+
+
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+
+
+ house_monthly_amount = #{record.houseMonthlyAmount,jdbcType=DECIMAL},
+
+
+ shop_car_year = #{record.shopCarYear,jdbcType=INTEGER},
+
+
+ car_type = #{record.carType,jdbcType=VARCHAR},
+
+
+ car_price = #{record.carPrice,jdbcType=DECIMAL},
+
+
+ car_down_payment_percent = #{record.carDownPaymentPercent,jdbcType=DECIMAL},
+
+
+ car_loan_year = #{record.carLoanYear,jdbcType=INTEGER},
+
+
+ car_loan_rate = #{record.carLoanRate,jdbcType=DECIMAL},
+
+
+ purchase_tax = #{record.purchaseTax,jdbcType=DECIMAL},
+
+
+ car_reg_fee = #{record.carRegFee,jdbcType=DECIMAL},
+
+
+ displacement = #{record.displacement,jdbcType=INTEGER},
+
+
+ vehicle_and_vessel_tax = #{record.vehicleAndVesselTax,jdbcType=DECIMAL},
+
+
+ motor_vehicle_compulsory = #{record.motorVehicleCompulsory,jdbcType=DECIMAL},
+
+
+ motor_vehicle_commercial = #{record.motorVehicleCommercial,jdbcType=DECIMAL},
+
+
+ car_down_payment = #{record.carDownPayment,jdbcType=DECIMAL},
+
+
+ car_total_amount = #{record.carTotalAmount,jdbcType=DECIMAL},
+
+
+ car_monthly_amount = #{record.carMonthlyAmount,jdbcType=DECIMAL},
+
+
+ return_on_investment = #{record.returnOnInvestment,jdbcType=DECIMAL},
+
+
+ lump_sum = #{record.lumpSum,jdbcType=DECIMAL},
+
+
+ month_regular_invest_amount = #{record.monthRegularInvestAmount,jdbcType=DECIMAL},
+
+
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+
+
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+
+
+ user_id = #{record.userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+
+
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update case_consumption_plan
+ set case_consumption_plan_id = #{record.caseConsumptionPlanId,jdbcType=VARCHAR},
+ case_id = #{record.caseId,jdbcType=VARCHAR},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ available_assets = #{record.availableAssets,jdbcType=DECIMAL},
+ shop_house_year = #{record.shopHouseYear,jdbcType=INTEGER},
+ house_area = #{record.houseArea,jdbcType=DECIMAL},
+ house_price = #{record.housePrice,jdbcType=DECIMAL},
+ house_all_money = #{record.houseAllMoney,jdbcType=DECIMAL},
+ house_down_payment_percent = #{record.houseDownPaymentPercent,jdbcType=DECIMAL},
+ house_loan_year = #{record.houseLoanYear,jdbcType=INTEGER},
+ house_loan_rate = #{record.houseLoanRate,jdbcType=DECIMAL},
+ house_down_payment = #{record.houseDownPayment,jdbcType=DECIMAL},
+ house_total_amount = #{record.houseTotalAmount,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ house_monthly_amount = #{record.houseMonthlyAmount,jdbcType=DECIMAL},
+ shop_car_year = #{record.shopCarYear,jdbcType=INTEGER},
+ car_type = #{record.carType,jdbcType=VARCHAR},
+ car_price = #{record.carPrice,jdbcType=DECIMAL},
+ car_down_payment_percent = #{record.carDownPaymentPercent,jdbcType=DECIMAL},
+ car_loan_year = #{record.carLoanYear,jdbcType=INTEGER},
+ car_loan_rate = #{record.carLoanRate,jdbcType=DECIMAL},
+ purchase_tax = #{record.purchaseTax,jdbcType=DECIMAL},
+ car_reg_fee = #{record.carRegFee,jdbcType=DECIMAL},
+ displacement = #{record.displacement,jdbcType=INTEGER},
+ vehicle_and_vessel_tax = #{record.vehicleAndVesselTax,jdbcType=DECIMAL},
+ motor_vehicle_compulsory = #{record.motorVehicleCompulsory,jdbcType=DECIMAL},
+ motor_vehicle_commercial = #{record.motorVehicleCommercial,jdbcType=DECIMAL},
+ car_down_payment = #{record.carDownPayment,jdbcType=DECIMAL},
+ car_total_amount = #{record.carTotalAmount,jdbcType=DECIMAL},
+ car_monthly_amount = #{record.carMonthlyAmount,jdbcType=DECIMAL},
+ return_on_investment = #{record.returnOnInvestment,jdbcType=DECIMAL},
+ lump_sum = #{record.lumpSum,jdbcType=DECIMAL},
+ month_regular_invest_amount = #{record.monthRegularInvestAmount,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update case_consumption_plan
+ set case_consumption_plan_id = #{record.caseConsumptionPlanId,jdbcType=VARCHAR},
+ case_id = #{record.caseId,jdbcType=VARCHAR},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ available_assets = #{record.availableAssets,jdbcType=DECIMAL},
+ shop_house_year = #{record.shopHouseYear,jdbcType=INTEGER},
+ house_area = #{record.houseArea,jdbcType=DECIMAL},
+ house_price = #{record.housePrice,jdbcType=DECIMAL},
+ house_all_money = #{record.houseAllMoney,jdbcType=DECIMAL},
+ house_down_payment_percent = #{record.houseDownPaymentPercent,jdbcType=DECIMAL},
+ house_loan_year = #{record.houseLoanYear,jdbcType=INTEGER},
+ house_loan_rate = #{record.houseLoanRate,jdbcType=DECIMAL},
+ house_down_payment = #{record.houseDownPayment,jdbcType=DECIMAL},
+ house_total_amount = #{record.houseTotalAmount,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ house_monthly_amount = #{record.houseMonthlyAmount,jdbcType=DECIMAL},
+ shop_car_year = #{record.shopCarYear,jdbcType=INTEGER},
+ car_type = #{record.carType,jdbcType=VARCHAR},
+ car_price = #{record.carPrice,jdbcType=DECIMAL},
+ car_down_payment_percent = #{record.carDownPaymentPercent,jdbcType=DECIMAL},
+ car_loan_year = #{record.carLoanYear,jdbcType=INTEGER},
+ car_loan_rate = #{record.carLoanRate,jdbcType=DECIMAL},
+ purchase_tax = #{record.purchaseTax,jdbcType=DECIMAL},
+ car_reg_fee = #{record.carRegFee,jdbcType=DECIMAL},
+ displacement = #{record.displacement,jdbcType=INTEGER},
+ vehicle_and_vessel_tax = #{record.vehicleAndVesselTax,jdbcType=DECIMAL},
+ motor_vehicle_compulsory = #{record.motorVehicleCompulsory,jdbcType=DECIMAL},
+ motor_vehicle_commercial = #{record.motorVehicleCommercial,jdbcType=DECIMAL},
+ car_down_payment = #{record.carDownPayment,jdbcType=DECIMAL},
+ car_total_amount = #{record.carTotalAmount,jdbcType=DECIMAL},
+ car_monthly_amount = #{record.carMonthlyAmount,jdbcType=DECIMAL},
+ return_on_investment = #{record.returnOnInvestment,jdbcType=DECIMAL},
+ lump_sum = #{record.lumpSum,jdbcType=DECIMAL},
+ month_regular_invest_amount = #{record.monthRegularInvestAmount,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR}
+
+
+
+
+
+ update case_consumption_plan
+
+
+ case_id = #{caseId,jdbcType=VARCHAR},
+
+
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ available_assets = #{availableAssets,jdbcType=DECIMAL},
+
+
+ shop_house_year = #{shopHouseYear,jdbcType=INTEGER},
+
+
+ house_area = #{houseArea,jdbcType=DECIMAL},
+
+
+ house_price = #{housePrice,jdbcType=DECIMAL},
+
+
+ house_all_money = #{houseAllMoney,jdbcType=DECIMAL},
+
+
+ house_down_payment_percent = #{houseDownPaymentPercent,jdbcType=DECIMAL},
+
+
+ house_loan_year = #{houseLoanYear,jdbcType=INTEGER},
+
+
+ house_loan_rate = #{houseLoanRate,jdbcType=DECIMAL},
+
+
+ house_down_payment = #{houseDownPayment,jdbcType=DECIMAL},
+
+
+ house_total_amount = #{houseTotalAmount,jdbcType=DECIMAL},
+
+
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+
+
+ house_monthly_amount = #{houseMonthlyAmount,jdbcType=DECIMAL},
+
+
+ shop_car_year = #{shopCarYear,jdbcType=INTEGER},
+
+
+ car_type = #{carType,jdbcType=VARCHAR},
+
+
+ car_price = #{carPrice,jdbcType=DECIMAL},
+
+
+ car_down_payment_percent = #{carDownPaymentPercent,jdbcType=DECIMAL},
+
+
+ car_loan_year = #{carLoanYear,jdbcType=INTEGER},
+
+
+ car_loan_rate = #{carLoanRate,jdbcType=DECIMAL},
+
+
+ purchase_tax = #{purchaseTax,jdbcType=DECIMAL},
+
+
+ car_reg_fee = #{carRegFee,jdbcType=DECIMAL},
+
+
+ displacement = #{displacement,jdbcType=INTEGER},
+
+
+ vehicle_and_vessel_tax = #{vehicleAndVesselTax,jdbcType=DECIMAL},
+
+
+ motor_vehicle_compulsory = #{motorVehicleCompulsory,jdbcType=DECIMAL},
+
+
+ motor_vehicle_commercial = #{motorVehicleCommercial,jdbcType=DECIMAL},
+
+
+ car_down_payment = #{carDownPayment,jdbcType=DECIMAL},
+
+
+ car_total_amount = #{carTotalAmount,jdbcType=DECIMAL},
+
+
+ car_monthly_amount = #{carMonthlyAmount,jdbcType=DECIMAL},
+
+
+ return_on_investment = #{returnOnInvestment,jdbcType=DECIMAL},
+
+
+ lump_sum = #{lumpSum,jdbcType=DECIMAL},
+
+
+ month_regular_invest_amount = #{monthRegularInvestAmount,jdbcType=DECIMAL},
+
+
+ regular_year = #{regularYear,jdbcType=INTEGER},
+
+
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ user_id = #{userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+
+
+ analysis = #{analysis,jdbcType=LONGVARCHAR},
+
+
+ where case_consumption_plan_id = #{caseConsumptionPlanId,jdbcType=VARCHAR}
+
+
+ update case_consumption_plan
+ set case_id = #{caseId,jdbcType=VARCHAR},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ available_assets = #{availableAssets,jdbcType=DECIMAL},
+ shop_house_year = #{shopHouseYear,jdbcType=INTEGER},
+ house_area = #{houseArea,jdbcType=DECIMAL},
+ house_price = #{housePrice,jdbcType=DECIMAL},
+ house_all_money = #{houseAllMoney,jdbcType=DECIMAL},
+ house_down_payment_percent = #{houseDownPaymentPercent,jdbcType=DECIMAL},
+ house_loan_year = #{houseLoanYear,jdbcType=INTEGER},
+ house_loan_rate = #{houseLoanRate,jdbcType=DECIMAL},
+ house_down_payment = #{houseDownPayment,jdbcType=DECIMAL},
+ house_total_amount = #{houseTotalAmount,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ house_monthly_amount = #{houseMonthlyAmount,jdbcType=DECIMAL},
+ shop_car_year = #{shopCarYear,jdbcType=INTEGER},
+ car_type = #{carType,jdbcType=VARCHAR},
+ car_price = #{carPrice,jdbcType=DECIMAL},
+ car_down_payment_percent = #{carDownPaymentPercent,jdbcType=DECIMAL},
+ car_loan_year = #{carLoanYear,jdbcType=INTEGER},
+ car_loan_rate = #{carLoanRate,jdbcType=DECIMAL},
+ purchase_tax = #{purchaseTax,jdbcType=DECIMAL},
+ car_reg_fee = #{carRegFee,jdbcType=DECIMAL},
+ displacement = #{displacement,jdbcType=INTEGER},
+ vehicle_and_vessel_tax = #{vehicleAndVesselTax,jdbcType=DECIMAL},
+ motor_vehicle_compulsory = #{motorVehicleCompulsory,jdbcType=DECIMAL},
+ motor_vehicle_commercial = #{motorVehicleCommercial,jdbcType=DECIMAL},
+ car_down_payment = #{carDownPayment,jdbcType=DECIMAL},
+ car_total_amount = #{carTotalAmount,jdbcType=DECIMAL},
+ car_monthly_amount = #{carMonthlyAmount,jdbcType=DECIMAL},
+ return_on_investment = #{returnOnInvestment,jdbcType=DECIMAL},
+ lump_sum = #{lumpSum,jdbcType=DECIMAL},
+ month_regular_invest_amount = #{monthRegularInvestAmount,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+ analysis = #{analysis,jdbcType=LONGVARCHAR}
+ where case_consumption_plan_id = #{caseConsumptionPlanId,jdbcType=VARCHAR}
+
+
+ update case_consumption_plan
+ set case_id = #{caseId,jdbcType=VARCHAR},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ available_assets = #{availableAssets,jdbcType=DECIMAL},
+ shop_house_year = #{shopHouseYear,jdbcType=INTEGER},
+ house_area = #{houseArea,jdbcType=DECIMAL},
+ house_price = #{housePrice,jdbcType=DECIMAL},
+ house_all_money = #{houseAllMoney,jdbcType=DECIMAL},
+ house_down_payment_percent = #{houseDownPaymentPercent,jdbcType=DECIMAL},
+ house_loan_year = #{houseLoanYear,jdbcType=INTEGER},
+ house_loan_rate = #{houseLoanRate,jdbcType=DECIMAL},
+ house_down_payment = #{houseDownPayment,jdbcType=DECIMAL},
+ house_total_amount = #{houseTotalAmount,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ house_monthly_amount = #{houseMonthlyAmount,jdbcType=DECIMAL},
+ shop_car_year = #{shopCarYear,jdbcType=INTEGER},
+ car_type = #{carType,jdbcType=VARCHAR},
+ car_price = #{carPrice,jdbcType=DECIMAL},
+ car_down_payment_percent = #{carDownPaymentPercent,jdbcType=DECIMAL},
+ car_loan_year = #{carLoanYear,jdbcType=INTEGER},
+ car_loan_rate = #{carLoanRate,jdbcType=DECIMAL},
+ purchase_tax = #{purchaseTax,jdbcType=DECIMAL},
+ car_reg_fee = #{carRegFee,jdbcType=DECIMAL},
+ displacement = #{displacement,jdbcType=INTEGER},
+ vehicle_and_vessel_tax = #{vehicleAndVesselTax,jdbcType=DECIMAL},
+ motor_vehicle_compulsory = #{motorVehicleCompulsory,jdbcType=DECIMAL},
+ motor_vehicle_commercial = #{motorVehicleCommercial,jdbcType=DECIMAL},
+ car_down_payment = #{carDownPayment,jdbcType=DECIMAL},
+ car_total_amount = #{carTotalAmount,jdbcType=DECIMAL},
+ car_monthly_amount = #{carMonthlyAmount,jdbcType=DECIMAL},
+ return_on_investment = #{returnOnInvestment,jdbcType=DECIMAL},
+ lump_sum = #{lumpSum,jdbcType=DECIMAL},
+ month_regular_invest_amount = #{monthRegularInvestAmount,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR}
+ where case_consumption_plan_id = #{caseConsumptionPlanId,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/src/main/resources/mapper/CaseLifeEducationPlanMapper.xml b/src/main/resources/mapper/CaseLifeEducationPlanMapper.xml
new file mode 100644
index 0000000..f4d2252
--- /dev/null
+++ b/src/main/resources/mapper/CaseLifeEducationPlanMapper.xml
@@ -0,0 +1,1055 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ case_life_education_plan_id, caseid, child_age, inland_edu_fee, foreign_edu_fee,
+ a_edu_age, a_edu_time, a_tuition, a_edu_tuition, a_total_tuition, b_edu_age, b_edu_time,
+ b_tuition, b_edu_tuition, b_total_tuition, c_edu_age, c_edu_time, c_tuition, c_edu_tuition,
+ c_total_tuition, d_edu_age, d_edu_time, d_tuition, d_edu_tuition, d_total_tuition,
+ e_edu_age, e_edu_time, e_tuition, e_edu_tuition, e_total_tuition, f_edu_age, f_edu_time,
+ f_tuition, f_edu_tuition, f_total_tuition, insurance, deposit, other, edu_total_amount,
+ return_on_investment, disposable_input, monthly_investment, regular_year, target_amount,
+ financial_plan, user_id, is_answer, analysis_teacher_score, case_teacher_score
+
+
+ analysis
+
+
+
+
+
+ delete from case_life_education_plan
+ where case_life_education_plan_id = #{caseLifeEducationPlanId,jdbcType=VARCHAR}
+
+
+ delete from case_life_education_plan
+
+
+
+
+
+ insert into case_life_education_plan (case_life_education_plan_id, caseid,
+ child_age, inland_edu_fee, foreign_edu_fee,
+ a_edu_age, a_edu_time, a_tuition,
+ a_edu_tuition, a_total_tuition, b_edu_age,
+ b_edu_time, b_tuition, b_edu_tuition,
+ b_total_tuition, c_edu_age, c_edu_time,
+ c_tuition, c_edu_tuition, c_total_tuition,
+ d_edu_age, d_edu_time, d_tuition,
+ d_edu_tuition, d_total_tuition, e_edu_age,
+ e_edu_time, e_tuition, e_edu_tuition,
+ e_total_tuition, f_edu_age, f_edu_time,
+ f_tuition, f_edu_tuition, f_total_tuition,
+ insurance, deposit, other,
+ edu_total_amount, return_on_investment, disposable_input,
+ monthly_investment, regular_year, target_amount,
+ financial_plan, user_id, is_answer,
+ analysis_teacher_score, case_teacher_score,
+ analysis)
+ values (#{caseLifeEducationPlanId,jdbcType=VARCHAR}, #{caseid,jdbcType=VARCHAR},
+ #{childAge,jdbcType=INTEGER}, #{inlandEduFee,jdbcType=DECIMAL}, #{foreignEduFee,jdbcType=DECIMAL},
+ #{aEduAge,jdbcType=INTEGER}, #{aEduTime,jdbcType=INTEGER}, #{aTuition,jdbcType=DECIMAL},
+ #{aEduTuition,jdbcType=DECIMAL}, #{aTotalTuition,jdbcType=DECIMAL}, #{bEduAge,jdbcType=INTEGER},
+ #{bEduTime,jdbcType=INTEGER}, #{bTuition,jdbcType=DECIMAL}, #{bEduTuition,jdbcType=DECIMAL},
+ #{bTotalTuition,jdbcType=DECIMAL}, #{cEduAge,jdbcType=INTEGER}, #{cEduTime,jdbcType=INTEGER},
+ #{cTuition,jdbcType=DECIMAL}, #{cEduTuition,jdbcType=DECIMAL}, #{cTotalTuition,jdbcType=DECIMAL},
+ #{dEduAge,jdbcType=INTEGER}, #{dEduTime,jdbcType=INTEGER}, #{dTuition,jdbcType=DECIMAL},
+ #{dEduTuition,jdbcType=DECIMAL}, #{dTotalTuition,jdbcType=DECIMAL}, #{eEduAge,jdbcType=INTEGER},
+ #{eEduTime,jdbcType=INTEGER}, #{eTuition,jdbcType=DECIMAL}, #{eEduTuition,jdbcType=DECIMAL},
+ #{eTotalTuition,jdbcType=DECIMAL}, #{fEduAge,jdbcType=INTEGER}, #{fEduTime,jdbcType=INTEGER},
+ #{fTuition,jdbcType=DECIMAL}, #{fEduTuition,jdbcType=DECIMAL}, #{fTotalTuition,jdbcType=DECIMAL},
+ #{insurance,jdbcType=DECIMAL}, #{deposit,jdbcType=DECIMAL}, #{other,jdbcType=DECIMAL},
+ #{eduTotalAmount,jdbcType=DECIMAL}, #{returnOnInvestment,jdbcType=DECIMAL}, #{disposableInput,jdbcType=DECIMAL},
+ #{monthlyInvestment,jdbcType=DECIMAL}, #{regularYear,jdbcType=INTEGER}, #{targetAmount,jdbcType=DECIMAL},
+ #{financialPlan,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{isAnswer,jdbcType=VARCHAR},
+ #{analysisTeacherScore,jdbcType=DECIMAL}, #{caseTeacherScore,jdbcType=DECIMAL},
+ #{analysis,jdbcType=LONGVARCHAR})
+
+
+ insert into case_life_education_plan
+
+
+ case_life_education_plan_id,
+
+
+ caseid,
+
+
+ child_age,
+
+
+ inland_edu_fee,
+
+
+ foreign_edu_fee,
+
+
+ a_edu_age,
+
+
+ a_edu_time,
+
+
+ a_tuition,
+
+
+ a_edu_tuition,
+
+
+ a_total_tuition,
+
+
+ b_edu_age,
+
+
+ b_edu_time,
+
+
+ b_tuition,
+
+
+ b_edu_tuition,
+
+
+ b_total_tuition,
+
+
+ c_edu_age,
+
+
+ c_edu_time,
+
+
+ c_tuition,
+
+
+ c_edu_tuition,
+
+
+ c_total_tuition,
+
+
+ d_edu_age,
+
+
+ d_edu_time,
+
+
+ d_tuition,
+
+
+ d_edu_tuition,
+
+
+ d_total_tuition,
+
+
+ e_edu_age,
+
+
+ e_edu_time,
+
+
+ e_tuition,
+
+
+ e_edu_tuition,
+
+
+ e_total_tuition,
+
+
+ f_edu_age,
+
+
+ f_edu_time,
+
+
+ f_tuition,
+
+
+ f_edu_tuition,
+
+
+ f_total_tuition,
+
+
+ insurance,
+
+
+ deposit,
+
+
+ other,
+
+
+ edu_total_amount,
+
+
+ return_on_investment,
+
+
+ disposable_input,
+
+
+ monthly_investment,
+
+
+ regular_year,
+
+
+ target_amount,
+
+
+ financial_plan,
+
+
+ user_id,
+
+
+ is_answer,
+
+
+ analysis_teacher_score,
+
+
+ case_teacher_score,
+
+
+ analysis,
+
+
+
+
+ #{caseLifeEducationPlanId,jdbcType=VARCHAR},
+
+
+ #{caseid,jdbcType=VARCHAR},
+
+
+ #{childAge,jdbcType=INTEGER},
+
+
+ #{inlandEduFee,jdbcType=DECIMAL},
+
+
+ #{foreignEduFee,jdbcType=DECIMAL},
+
+
+ #{aEduAge,jdbcType=INTEGER},
+
+
+ #{aEduTime,jdbcType=INTEGER},
+
+
+ #{aTuition,jdbcType=DECIMAL},
+
+
+ #{aEduTuition,jdbcType=DECIMAL},
+
+
+ #{aTotalTuition,jdbcType=DECIMAL},
+
+
+ #{bEduAge,jdbcType=INTEGER},
+
+
+ #{bEduTime,jdbcType=INTEGER},
+
+
+ #{bTuition,jdbcType=DECIMAL},
+
+
+ #{bEduTuition,jdbcType=DECIMAL},
+
+
+ #{bTotalTuition,jdbcType=DECIMAL},
+
+
+ #{cEduAge,jdbcType=INTEGER},
+
+
+ #{cEduTime,jdbcType=INTEGER},
+
+
+ #{cTuition,jdbcType=DECIMAL},
+
+
+ #{cEduTuition,jdbcType=DECIMAL},
+
+
+ #{cTotalTuition,jdbcType=DECIMAL},
+
+
+ #{dEduAge,jdbcType=INTEGER},
+
+
+ #{dEduTime,jdbcType=INTEGER},
+
+
+ #{dTuition,jdbcType=DECIMAL},
+
+
+ #{dEduTuition,jdbcType=DECIMAL},
+
+
+ #{dTotalTuition,jdbcType=DECIMAL},
+
+
+ #{eEduAge,jdbcType=INTEGER},
+
+
+ #{eEduTime,jdbcType=INTEGER},
+
+
+ #{eTuition,jdbcType=DECIMAL},
+
+
+ #{eEduTuition,jdbcType=DECIMAL},
+
+
+ #{eTotalTuition,jdbcType=DECIMAL},
+
+
+ #{fEduAge,jdbcType=INTEGER},
+
+
+ #{fEduTime,jdbcType=INTEGER},
+
+
+ #{fTuition,jdbcType=DECIMAL},
+
+
+ #{fEduTuition,jdbcType=DECIMAL},
+
+
+ #{fTotalTuition,jdbcType=DECIMAL},
+
+
+ #{insurance,jdbcType=DECIMAL},
+
+
+ #{deposit,jdbcType=DECIMAL},
+
+
+ #{other,jdbcType=DECIMAL},
+
+
+ #{eduTotalAmount,jdbcType=DECIMAL},
+
+
+ #{returnOnInvestment,jdbcType=DECIMAL},
+
+
+ #{disposableInput,jdbcType=DECIMAL},
+
+
+ #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ #{regularYear,jdbcType=INTEGER},
+
+
+ #{targetAmount,jdbcType=DECIMAL},
+
+
+ #{financialPlan,jdbcType=VARCHAR},
+
+
+ #{userId,jdbcType=VARCHAR},
+
+
+ #{isAnswer,jdbcType=VARCHAR},
+
+
+ #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ #{analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update case_life_education_plan
+
+
+ case_life_education_plan_id = #{record.caseLifeEducationPlanId,jdbcType=VARCHAR},
+
+
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+
+
+ child_age = #{record.childAge,jdbcType=INTEGER},
+
+
+ inland_edu_fee = #{record.inlandEduFee,jdbcType=DECIMAL},
+
+
+ foreign_edu_fee = #{record.foreignEduFee,jdbcType=DECIMAL},
+
+
+ a_edu_age = #{record.aEduAge,jdbcType=INTEGER},
+
+
+ a_edu_time = #{record.aEduTime,jdbcType=INTEGER},
+
+
+ a_tuition = #{record.aTuition,jdbcType=DECIMAL},
+
+
+ a_edu_tuition = #{record.aEduTuition,jdbcType=DECIMAL},
+
+
+ a_total_tuition = #{record.aTotalTuition,jdbcType=DECIMAL},
+
+
+ b_edu_age = #{record.bEduAge,jdbcType=INTEGER},
+
+
+ b_edu_time = #{record.bEduTime,jdbcType=INTEGER},
+
+
+ b_tuition = #{record.bTuition,jdbcType=DECIMAL},
+
+
+ b_edu_tuition = #{record.bEduTuition,jdbcType=DECIMAL},
+
+
+ b_total_tuition = #{record.bTotalTuition,jdbcType=DECIMAL},
+
+
+ c_edu_age = #{record.cEduAge,jdbcType=INTEGER},
+
+
+ c_edu_time = #{record.cEduTime,jdbcType=INTEGER},
+
+
+ c_tuition = #{record.cTuition,jdbcType=DECIMAL},
+
+
+ c_edu_tuition = #{record.cEduTuition,jdbcType=DECIMAL},
+
+
+ c_total_tuition = #{record.cTotalTuition,jdbcType=DECIMAL},
+
+
+ d_edu_age = #{record.dEduAge,jdbcType=INTEGER},
+
+
+ d_edu_time = #{record.dEduTime,jdbcType=INTEGER},
+
+
+ d_tuition = #{record.dTuition,jdbcType=DECIMAL},
+
+
+ d_edu_tuition = #{record.dEduTuition,jdbcType=DECIMAL},
+
+
+ d_total_tuition = #{record.dTotalTuition,jdbcType=DECIMAL},
+
+
+ e_edu_age = #{record.eEduAge,jdbcType=INTEGER},
+
+
+ e_edu_time = #{record.eEduTime,jdbcType=INTEGER},
+
+
+ e_tuition = #{record.eTuition,jdbcType=DECIMAL},
+
+
+ e_edu_tuition = #{record.eEduTuition,jdbcType=DECIMAL},
+
+
+ e_total_tuition = #{record.eTotalTuition,jdbcType=DECIMAL},
+
+
+ f_edu_age = #{record.fEduAge,jdbcType=INTEGER},
+
+
+ f_edu_time = #{record.fEduTime,jdbcType=INTEGER},
+
+
+ f_tuition = #{record.fTuition,jdbcType=DECIMAL},
+
+
+ f_edu_tuition = #{record.fEduTuition,jdbcType=DECIMAL},
+
+
+ f_total_tuition = #{record.fTotalTuition,jdbcType=DECIMAL},
+
+
+ insurance = #{record.insurance,jdbcType=DECIMAL},
+
+
+ deposit = #{record.deposit,jdbcType=DECIMAL},
+
+
+ other = #{record.other,jdbcType=DECIMAL},
+
+
+ edu_total_amount = #{record.eduTotalAmount,jdbcType=DECIMAL},
+
+
+ return_on_investment = #{record.returnOnInvestment,jdbcType=DECIMAL},
+
+
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+
+
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+
+
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+
+
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+
+
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+
+
+ user_id = #{record.userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+
+
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update case_life_education_plan
+ set case_life_education_plan_id = #{record.caseLifeEducationPlanId,jdbcType=VARCHAR},
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+ child_age = #{record.childAge,jdbcType=INTEGER},
+ inland_edu_fee = #{record.inlandEduFee,jdbcType=DECIMAL},
+ foreign_edu_fee = #{record.foreignEduFee,jdbcType=DECIMAL},
+ a_edu_age = #{record.aEduAge,jdbcType=INTEGER},
+ a_edu_time = #{record.aEduTime,jdbcType=INTEGER},
+ a_tuition = #{record.aTuition,jdbcType=DECIMAL},
+ a_edu_tuition = #{record.aEduTuition,jdbcType=DECIMAL},
+ a_total_tuition = #{record.aTotalTuition,jdbcType=DECIMAL},
+ b_edu_age = #{record.bEduAge,jdbcType=INTEGER},
+ b_edu_time = #{record.bEduTime,jdbcType=INTEGER},
+ b_tuition = #{record.bTuition,jdbcType=DECIMAL},
+ b_edu_tuition = #{record.bEduTuition,jdbcType=DECIMAL},
+ b_total_tuition = #{record.bTotalTuition,jdbcType=DECIMAL},
+ c_edu_age = #{record.cEduAge,jdbcType=INTEGER},
+ c_edu_time = #{record.cEduTime,jdbcType=INTEGER},
+ c_tuition = #{record.cTuition,jdbcType=DECIMAL},
+ c_edu_tuition = #{record.cEduTuition,jdbcType=DECIMAL},
+ c_total_tuition = #{record.cTotalTuition,jdbcType=DECIMAL},
+ d_edu_age = #{record.dEduAge,jdbcType=INTEGER},
+ d_edu_time = #{record.dEduTime,jdbcType=INTEGER},
+ d_tuition = #{record.dTuition,jdbcType=DECIMAL},
+ d_edu_tuition = #{record.dEduTuition,jdbcType=DECIMAL},
+ d_total_tuition = #{record.dTotalTuition,jdbcType=DECIMAL},
+ e_edu_age = #{record.eEduAge,jdbcType=INTEGER},
+ e_edu_time = #{record.eEduTime,jdbcType=INTEGER},
+ e_tuition = #{record.eTuition,jdbcType=DECIMAL},
+ e_edu_tuition = #{record.eEduTuition,jdbcType=DECIMAL},
+ e_total_tuition = #{record.eTotalTuition,jdbcType=DECIMAL},
+ f_edu_age = #{record.fEduAge,jdbcType=INTEGER},
+ f_edu_time = #{record.fEduTime,jdbcType=INTEGER},
+ f_tuition = #{record.fTuition,jdbcType=DECIMAL},
+ f_edu_tuition = #{record.fEduTuition,jdbcType=DECIMAL},
+ f_total_tuition = #{record.fTotalTuition,jdbcType=DECIMAL},
+ insurance = #{record.insurance,jdbcType=DECIMAL},
+ deposit = #{record.deposit,jdbcType=DECIMAL},
+ other = #{record.other,jdbcType=DECIMAL},
+ edu_total_amount = #{record.eduTotalAmount,jdbcType=DECIMAL},
+ return_on_investment = #{record.returnOnInvestment,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update case_life_education_plan
+ set case_life_education_plan_id = #{record.caseLifeEducationPlanId,jdbcType=VARCHAR},
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+ child_age = #{record.childAge,jdbcType=INTEGER},
+ inland_edu_fee = #{record.inlandEduFee,jdbcType=DECIMAL},
+ foreign_edu_fee = #{record.foreignEduFee,jdbcType=DECIMAL},
+ a_edu_age = #{record.aEduAge,jdbcType=INTEGER},
+ a_edu_time = #{record.aEduTime,jdbcType=INTEGER},
+ a_tuition = #{record.aTuition,jdbcType=DECIMAL},
+ a_edu_tuition = #{record.aEduTuition,jdbcType=DECIMAL},
+ a_total_tuition = #{record.aTotalTuition,jdbcType=DECIMAL},
+ b_edu_age = #{record.bEduAge,jdbcType=INTEGER},
+ b_edu_time = #{record.bEduTime,jdbcType=INTEGER},
+ b_tuition = #{record.bTuition,jdbcType=DECIMAL},
+ b_edu_tuition = #{record.bEduTuition,jdbcType=DECIMAL},
+ b_total_tuition = #{record.bTotalTuition,jdbcType=DECIMAL},
+ c_edu_age = #{record.cEduAge,jdbcType=INTEGER},
+ c_edu_time = #{record.cEduTime,jdbcType=INTEGER},
+ c_tuition = #{record.cTuition,jdbcType=DECIMAL},
+ c_edu_tuition = #{record.cEduTuition,jdbcType=DECIMAL},
+ c_total_tuition = #{record.cTotalTuition,jdbcType=DECIMAL},
+ d_edu_age = #{record.dEduAge,jdbcType=INTEGER},
+ d_edu_time = #{record.dEduTime,jdbcType=INTEGER},
+ d_tuition = #{record.dTuition,jdbcType=DECIMAL},
+ d_edu_tuition = #{record.dEduTuition,jdbcType=DECIMAL},
+ d_total_tuition = #{record.dTotalTuition,jdbcType=DECIMAL},
+ e_edu_age = #{record.eEduAge,jdbcType=INTEGER},
+ e_edu_time = #{record.eEduTime,jdbcType=INTEGER},
+ e_tuition = #{record.eTuition,jdbcType=DECIMAL},
+ e_edu_tuition = #{record.eEduTuition,jdbcType=DECIMAL},
+ e_total_tuition = #{record.eTotalTuition,jdbcType=DECIMAL},
+ f_edu_age = #{record.fEduAge,jdbcType=INTEGER},
+ f_edu_time = #{record.fEduTime,jdbcType=INTEGER},
+ f_tuition = #{record.fTuition,jdbcType=DECIMAL},
+ f_edu_tuition = #{record.fEduTuition,jdbcType=DECIMAL},
+ f_total_tuition = #{record.fTotalTuition,jdbcType=DECIMAL},
+ insurance = #{record.insurance,jdbcType=DECIMAL},
+ deposit = #{record.deposit,jdbcType=DECIMAL},
+ other = #{record.other,jdbcType=DECIMAL},
+ edu_total_amount = #{record.eduTotalAmount,jdbcType=DECIMAL},
+ return_on_investment = #{record.returnOnInvestment,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL}
+
+
+
+
+
+ update case_life_education_plan
+
+
+ caseid = #{caseid,jdbcType=VARCHAR},
+
+
+ child_age = #{childAge,jdbcType=INTEGER},
+
+
+ inland_edu_fee = #{inlandEduFee,jdbcType=DECIMAL},
+
+
+ foreign_edu_fee = #{foreignEduFee,jdbcType=DECIMAL},
+
+
+ a_edu_age = #{aEduAge,jdbcType=INTEGER},
+
+
+ a_edu_time = #{aEduTime,jdbcType=INTEGER},
+
+
+ a_tuition = #{aTuition,jdbcType=DECIMAL},
+
+
+ a_edu_tuition = #{aEduTuition,jdbcType=DECIMAL},
+
+
+ a_total_tuition = #{aTotalTuition,jdbcType=DECIMAL},
+
+
+ b_edu_age = #{bEduAge,jdbcType=INTEGER},
+
+
+ b_edu_time = #{bEduTime,jdbcType=INTEGER},
+
+
+ b_tuition = #{bTuition,jdbcType=DECIMAL},
+
+
+ b_edu_tuition = #{bEduTuition,jdbcType=DECIMAL},
+
+
+ b_total_tuition = #{bTotalTuition,jdbcType=DECIMAL},
+
+
+ c_edu_age = #{cEduAge,jdbcType=INTEGER},
+
+
+ c_edu_time = #{cEduTime,jdbcType=INTEGER},
+
+
+ c_tuition = #{cTuition,jdbcType=DECIMAL},
+
+
+ c_edu_tuition = #{cEduTuition,jdbcType=DECIMAL},
+
+
+ c_total_tuition = #{cTotalTuition,jdbcType=DECIMAL},
+
+
+ d_edu_age = #{dEduAge,jdbcType=INTEGER},
+
+
+ d_edu_time = #{dEduTime,jdbcType=INTEGER},
+
+
+ d_tuition = #{dTuition,jdbcType=DECIMAL},
+
+
+ d_edu_tuition = #{dEduTuition,jdbcType=DECIMAL},
+
+
+ d_total_tuition = #{dTotalTuition,jdbcType=DECIMAL},
+
+
+ e_edu_age = #{eEduAge,jdbcType=INTEGER},
+
+
+ e_edu_time = #{eEduTime,jdbcType=INTEGER},
+
+
+ e_tuition = #{eTuition,jdbcType=DECIMAL},
+
+
+ e_edu_tuition = #{eEduTuition,jdbcType=DECIMAL},
+
+
+ e_total_tuition = #{eTotalTuition,jdbcType=DECIMAL},
+
+
+ f_edu_age = #{fEduAge,jdbcType=INTEGER},
+
+
+ f_edu_time = #{fEduTime,jdbcType=INTEGER},
+
+
+ f_tuition = #{fTuition,jdbcType=DECIMAL},
+
+
+ f_edu_tuition = #{fEduTuition,jdbcType=DECIMAL},
+
+
+ f_total_tuition = #{fTotalTuition,jdbcType=DECIMAL},
+
+
+ insurance = #{insurance,jdbcType=DECIMAL},
+
+
+ deposit = #{deposit,jdbcType=DECIMAL},
+
+
+ other = #{other,jdbcType=DECIMAL},
+
+
+ edu_total_amount = #{eduTotalAmount,jdbcType=DECIMAL},
+
+
+ return_on_investment = #{returnOnInvestment,jdbcType=DECIMAL},
+
+
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+
+
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ regular_year = #{regularYear,jdbcType=INTEGER},
+
+
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+
+
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+
+
+ user_id = #{userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ analysis = #{analysis,jdbcType=LONGVARCHAR},
+
+
+ where case_life_education_plan_id = #{caseLifeEducationPlanId,jdbcType=VARCHAR}
+
+
+ update case_life_education_plan
+ set caseid = #{caseid,jdbcType=VARCHAR},
+ child_age = #{childAge,jdbcType=INTEGER},
+ inland_edu_fee = #{inlandEduFee,jdbcType=DECIMAL},
+ foreign_edu_fee = #{foreignEduFee,jdbcType=DECIMAL},
+ a_edu_age = #{aEduAge,jdbcType=INTEGER},
+ a_edu_time = #{aEduTime,jdbcType=INTEGER},
+ a_tuition = #{aTuition,jdbcType=DECIMAL},
+ a_edu_tuition = #{aEduTuition,jdbcType=DECIMAL},
+ a_total_tuition = #{aTotalTuition,jdbcType=DECIMAL},
+ b_edu_age = #{bEduAge,jdbcType=INTEGER},
+ b_edu_time = #{bEduTime,jdbcType=INTEGER},
+ b_tuition = #{bTuition,jdbcType=DECIMAL},
+ b_edu_tuition = #{bEduTuition,jdbcType=DECIMAL},
+ b_total_tuition = #{bTotalTuition,jdbcType=DECIMAL},
+ c_edu_age = #{cEduAge,jdbcType=INTEGER},
+ c_edu_time = #{cEduTime,jdbcType=INTEGER},
+ c_tuition = #{cTuition,jdbcType=DECIMAL},
+ c_edu_tuition = #{cEduTuition,jdbcType=DECIMAL},
+ c_total_tuition = #{cTotalTuition,jdbcType=DECIMAL},
+ d_edu_age = #{dEduAge,jdbcType=INTEGER},
+ d_edu_time = #{dEduTime,jdbcType=INTEGER},
+ d_tuition = #{dTuition,jdbcType=DECIMAL},
+ d_edu_tuition = #{dEduTuition,jdbcType=DECIMAL},
+ d_total_tuition = #{dTotalTuition,jdbcType=DECIMAL},
+ e_edu_age = #{eEduAge,jdbcType=INTEGER},
+ e_edu_time = #{eEduTime,jdbcType=INTEGER},
+ e_tuition = #{eTuition,jdbcType=DECIMAL},
+ e_edu_tuition = #{eEduTuition,jdbcType=DECIMAL},
+ e_total_tuition = #{eTotalTuition,jdbcType=DECIMAL},
+ f_edu_age = #{fEduAge,jdbcType=INTEGER},
+ f_edu_time = #{fEduTime,jdbcType=INTEGER},
+ f_tuition = #{fTuition,jdbcType=DECIMAL},
+ f_edu_tuition = #{fEduTuition,jdbcType=DECIMAL},
+ f_total_tuition = #{fTotalTuition,jdbcType=DECIMAL},
+ insurance = #{insurance,jdbcType=DECIMAL},
+ deposit = #{deposit,jdbcType=DECIMAL},
+ other = #{other,jdbcType=DECIMAL},
+ edu_total_amount = #{eduTotalAmount,jdbcType=DECIMAL},
+ return_on_investment = #{returnOnInvestment,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+ analysis = #{analysis,jdbcType=LONGVARCHAR}
+ where case_life_education_plan_id = #{caseLifeEducationPlanId,jdbcType=VARCHAR}
+
+
+ update case_life_education_plan
+ set caseid = #{caseid,jdbcType=VARCHAR},
+ child_age = #{childAge,jdbcType=INTEGER},
+ inland_edu_fee = #{inlandEduFee,jdbcType=DECIMAL},
+ foreign_edu_fee = #{foreignEduFee,jdbcType=DECIMAL},
+ a_edu_age = #{aEduAge,jdbcType=INTEGER},
+ a_edu_time = #{aEduTime,jdbcType=INTEGER},
+ a_tuition = #{aTuition,jdbcType=DECIMAL},
+ a_edu_tuition = #{aEduTuition,jdbcType=DECIMAL},
+ a_total_tuition = #{aTotalTuition,jdbcType=DECIMAL},
+ b_edu_age = #{bEduAge,jdbcType=INTEGER},
+ b_edu_time = #{bEduTime,jdbcType=INTEGER},
+ b_tuition = #{bTuition,jdbcType=DECIMAL},
+ b_edu_tuition = #{bEduTuition,jdbcType=DECIMAL},
+ b_total_tuition = #{bTotalTuition,jdbcType=DECIMAL},
+ c_edu_age = #{cEduAge,jdbcType=INTEGER},
+ c_edu_time = #{cEduTime,jdbcType=INTEGER},
+ c_tuition = #{cTuition,jdbcType=DECIMAL},
+ c_edu_tuition = #{cEduTuition,jdbcType=DECIMAL},
+ c_total_tuition = #{cTotalTuition,jdbcType=DECIMAL},
+ d_edu_age = #{dEduAge,jdbcType=INTEGER},
+ d_edu_time = #{dEduTime,jdbcType=INTEGER},
+ d_tuition = #{dTuition,jdbcType=DECIMAL},
+ d_edu_tuition = #{dEduTuition,jdbcType=DECIMAL},
+ d_total_tuition = #{dTotalTuition,jdbcType=DECIMAL},
+ e_edu_age = #{eEduAge,jdbcType=INTEGER},
+ e_edu_time = #{eEduTime,jdbcType=INTEGER},
+ e_tuition = #{eTuition,jdbcType=DECIMAL},
+ e_edu_tuition = #{eEduTuition,jdbcType=DECIMAL},
+ e_total_tuition = #{eTotalTuition,jdbcType=DECIMAL},
+ f_edu_age = #{fEduAge,jdbcType=INTEGER},
+ f_edu_time = #{fEduTime,jdbcType=INTEGER},
+ f_tuition = #{fTuition,jdbcType=DECIMAL},
+ f_edu_tuition = #{fEduTuition,jdbcType=DECIMAL},
+ f_total_tuition = #{fTotalTuition,jdbcType=DECIMAL},
+ insurance = #{insurance,jdbcType=DECIMAL},
+ deposit = #{deposit,jdbcType=DECIMAL},
+ other = #{other,jdbcType=DECIMAL},
+ edu_total_amount = #{eduTotalAmount,jdbcType=DECIMAL},
+ return_on_investment = #{returnOnInvestment,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL}
+ where case_life_education_plan_id = #{caseLifeEducationPlanId,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/src/main/resources/mapper/CaseRetirementPlanMapper.xml b/src/main/resources/mapper/CaseRetirementPlanMapper.xml
new file mode 100644
index 0000000..5ca0584
--- /dev/null
+++ b/src/main/resources/mapper/CaseRetirementPlanMapper.xml
@@ -0,0 +1,789 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ case_retirement_plan_id, caseid, age, before_inflation_rate, after_inflation_rate,
+ retirement_rate, socia_security_rate, rent_rate, other_rate, retirement_age, retirement_years,
+ living_standard_now, satisfaction, satisfaction_living_standard, convert_proportion,
+ lineage_fee, retirement_living_standard, after_living_standard, social_insurance,
+ commercial_insurance, rent_income, other_income, total_income, total_amount, return_on_investment_rate,
+ disposable_input, monthly_investment, regular_year, target_amount, financial_plan,
+ user_id, is_answer, analysis_teacher_score, case_teacher_score
+
+
+ analysis
+
+
+
+
+
+ delete from case_retirement_plan
+ where case_retirement_plan_id = #{caseRetirementPlanId,jdbcType=VARCHAR}
+
+
+ delete from case_retirement_plan
+
+
+
+
+
+ insert into case_retirement_plan (case_retirement_plan_id, caseid, age,
+ before_inflation_rate, after_inflation_rate,
+ retirement_rate, socia_security_rate, rent_rate,
+ other_rate, retirement_age, retirement_years,
+ living_standard_now, satisfaction, satisfaction_living_standard,
+ convert_proportion, lineage_fee, retirement_living_standard,
+ after_living_standard, social_insurance, commercial_insurance,
+ rent_income, other_income, total_income,
+ total_amount, return_on_investment_rate, disposable_input,
+ monthly_investment, regular_year, target_amount,
+ financial_plan, user_id, is_answer,
+ analysis_teacher_score, case_teacher_score,
+ analysis)
+ values (#{caseRetirementPlanId,jdbcType=VARCHAR}, #{caseid,jdbcType=VARCHAR}, #{age,jdbcType=INTEGER},
+ #{beforeInflationRate,jdbcType=DECIMAL}, #{afterInflationRate,jdbcType=DECIMAL},
+ #{retirementRate,jdbcType=DECIMAL}, #{sociaSecurityRate,jdbcType=DECIMAL}, #{rentRate,jdbcType=DECIMAL},
+ #{otherRate,jdbcType=DECIMAL}, #{retirementAge,jdbcType=INTEGER}, #{retirementYears,jdbcType=INTEGER},
+ #{livingStandardNow,jdbcType=VARCHAR}, #{satisfaction,jdbcType=INTEGER}, #{satisfactionLivingStandard,jdbcType=VARCHAR},
+ #{convertProportion,jdbcType=DECIMAL}, #{lineageFee,jdbcType=DECIMAL}, #{retirementLivingStandard,jdbcType=VARCHAR},
+ #{afterLivingStandard,jdbcType=VARCHAR}, #{socialInsurance,jdbcType=DECIMAL}, #{commercialInsurance,jdbcType=DECIMAL},
+ #{rentIncome,jdbcType=DECIMAL}, #{otherIncome,jdbcType=DECIMAL}, #{totalIncome,jdbcType=DECIMAL},
+ #{totalAmount,jdbcType=DECIMAL}, #{returnOnInvestmentRate,jdbcType=DECIMAL}, #{disposableInput,jdbcType=DECIMAL},
+ #{monthlyInvestment,jdbcType=DECIMAL}, #{regularYear,jdbcType=INTEGER}, #{targetAmount,jdbcType=DECIMAL},
+ #{financialPlan,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{isAnswer,jdbcType=VARCHAR},
+ #{analysisTeacherScore,jdbcType=DECIMAL}, #{caseTeacherScore,jdbcType=DECIMAL},
+ #{analysis,jdbcType=LONGVARCHAR})
+
+
+ insert into case_retirement_plan
+
+
+ case_retirement_plan_id,
+
+
+ caseid,
+
+
+ age,
+
+
+ before_inflation_rate,
+
+
+ after_inflation_rate,
+
+
+ retirement_rate,
+
+
+ socia_security_rate,
+
+
+ rent_rate,
+
+
+ other_rate,
+
+
+ retirement_age,
+
+
+ retirement_years,
+
+
+ living_standard_now,
+
+
+ satisfaction,
+
+
+ satisfaction_living_standard,
+
+
+ convert_proportion,
+
+
+ lineage_fee,
+
+
+ retirement_living_standard,
+
+
+ after_living_standard,
+
+
+ social_insurance,
+
+
+ commercial_insurance,
+
+
+ rent_income,
+
+
+ other_income,
+
+
+ total_income,
+
+
+ total_amount,
+
+
+ return_on_investment_rate,
+
+
+ disposable_input,
+
+
+ monthly_investment,
+
+
+ regular_year,
+
+
+ target_amount,
+
+
+ financial_plan,
+
+
+ user_id,
+
+
+ is_answer,
+
+
+ analysis_teacher_score,
+
+
+ case_teacher_score,
+
+
+ analysis,
+
+
+
+
+ #{caseRetirementPlanId,jdbcType=VARCHAR},
+
+
+ #{caseid,jdbcType=VARCHAR},
+
+
+ #{age,jdbcType=INTEGER},
+
+
+ #{beforeInflationRate,jdbcType=DECIMAL},
+
+
+ #{afterInflationRate,jdbcType=DECIMAL},
+
+
+ #{retirementRate,jdbcType=DECIMAL},
+
+
+ #{sociaSecurityRate,jdbcType=DECIMAL},
+
+
+ #{rentRate,jdbcType=DECIMAL},
+
+
+ #{otherRate,jdbcType=DECIMAL},
+
+
+ #{retirementAge,jdbcType=INTEGER},
+
+
+ #{retirementYears,jdbcType=INTEGER},
+
+
+ #{livingStandardNow,jdbcType=VARCHAR},
+
+
+ #{satisfaction,jdbcType=INTEGER},
+
+
+ #{satisfactionLivingStandard,jdbcType=VARCHAR},
+
+
+ #{convertProportion,jdbcType=DECIMAL},
+
+
+ #{lineageFee,jdbcType=DECIMAL},
+
+
+ #{retirementLivingStandard,jdbcType=VARCHAR},
+
+
+ #{afterLivingStandard,jdbcType=VARCHAR},
+
+
+ #{socialInsurance,jdbcType=DECIMAL},
+
+
+ #{commercialInsurance,jdbcType=DECIMAL},
+
+
+ #{rentIncome,jdbcType=DECIMAL},
+
+
+ #{otherIncome,jdbcType=DECIMAL},
+
+
+ #{totalIncome,jdbcType=DECIMAL},
+
+
+ #{totalAmount,jdbcType=DECIMAL},
+
+
+ #{returnOnInvestmentRate,jdbcType=DECIMAL},
+
+
+ #{disposableInput,jdbcType=DECIMAL},
+
+
+ #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ #{regularYear,jdbcType=INTEGER},
+
+
+ #{targetAmount,jdbcType=DECIMAL},
+
+
+ #{financialPlan,jdbcType=VARCHAR},
+
+
+ #{userId,jdbcType=VARCHAR},
+
+
+ #{isAnswer,jdbcType=VARCHAR},
+
+
+ #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ #{analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update case_retirement_plan
+
+
+ case_retirement_plan_id = #{record.caseRetirementPlanId,jdbcType=VARCHAR},
+
+
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+
+
+ age = #{record.age,jdbcType=INTEGER},
+
+
+ before_inflation_rate = #{record.beforeInflationRate,jdbcType=DECIMAL},
+
+
+ after_inflation_rate = #{record.afterInflationRate,jdbcType=DECIMAL},
+
+
+ retirement_rate = #{record.retirementRate,jdbcType=DECIMAL},
+
+
+ socia_security_rate = #{record.sociaSecurityRate,jdbcType=DECIMAL},
+
+
+ rent_rate = #{record.rentRate,jdbcType=DECIMAL},
+
+
+ other_rate = #{record.otherRate,jdbcType=DECIMAL},
+
+
+ retirement_age = #{record.retirementAge,jdbcType=INTEGER},
+
+
+ retirement_years = #{record.retirementYears,jdbcType=INTEGER},
+
+
+ living_standard_now = #{record.livingStandardNow,jdbcType=VARCHAR},
+
+
+ satisfaction = #{record.satisfaction,jdbcType=INTEGER},
+
+
+ satisfaction_living_standard = #{record.satisfactionLivingStandard,jdbcType=VARCHAR},
+
+
+ convert_proportion = #{record.convertProportion,jdbcType=DECIMAL},
+
+
+ lineage_fee = #{record.lineageFee,jdbcType=DECIMAL},
+
+
+ retirement_living_standard = #{record.retirementLivingStandard,jdbcType=VARCHAR},
+
+
+ after_living_standard = #{record.afterLivingStandard,jdbcType=VARCHAR},
+
+
+ social_insurance = #{record.socialInsurance,jdbcType=DECIMAL},
+
+
+ commercial_insurance = #{record.commercialInsurance,jdbcType=DECIMAL},
+
+
+ rent_income = #{record.rentIncome,jdbcType=DECIMAL},
+
+
+ other_income = #{record.otherIncome,jdbcType=DECIMAL},
+
+
+ total_income = #{record.totalIncome,jdbcType=DECIMAL},
+
+
+ total_amount = #{record.totalAmount,jdbcType=DECIMAL},
+
+
+ return_on_investment_rate = #{record.returnOnInvestmentRate,jdbcType=DECIMAL},
+
+
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+
+
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+
+
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+
+
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+
+
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+
+
+ user_id = #{record.userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+
+
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update case_retirement_plan
+ set case_retirement_plan_id = #{record.caseRetirementPlanId,jdbcType=VARCHAR},
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+ age = #{record.age,jdbcType=INTEGER},
+ before_inflation_rate = #{record.beforeInflationRate,jdbcType=DECIMAL},
+ after_inflation_rate = #{record.afterInflationRate,jdbcType=DECIMAL},
+ retirement_rate = #{record.retirementRate,jdbcType=DECIMAL},
+ socia_security_rate = #{record.sociaSecurityRate,jdbcType=DECIMAL},
+ rent_rate = #{record.rentRate,jdbcType=DECIMAL},
+ other_rate = #{record.otherRate,jdbcType=DECIMAL},
+ retirement_age = #{record.retirementAge,jdbcType=INTEGER},
+ retirement_years = #{record.retirementYears,jdbcType=INTEGER},
+ living_standard_now = #{record.livingStandardNow,jdbcType=VARCHAR},
+ satisfaction = #{record.satisfaction,jdbcType=INTEGER},
+ satisfaction_living_standard = #{record.satisfactionLivingStandard,jdbcType=VARCHAR},
+ convert_proportion = #{record.convertProportion,jdbcType=DECIMAL},
+ lineage_fee = #{record.lineageFee,jdbcType=DECIMAL},
+ retirement_living_standard = #{record.retirementLivingStandard,jdbcType=VARCHAR},
+ after_living_standard = #{record.afterLivingStandard,jdbcType=VARCHAR},
+ social_insurance = #{record.socialInsurance,jdbcType=DECIMAL},
+ commercial_insurance = #{record.commercialInsurance,jdbcType=DECIMAL},
+ rent_income = #{record.rentIncome,jdbcType=DECIMAL},
+ other_income = #{record.otherIncome,jdbcType=DECIMAL},
+ total_income = #{record.totalIncome,jdbcType=DECIMAL},
+ total_amount = #{record.totalAmount,jdbcType=DECIMAL},
+ return_on_investment_rate = #{record.returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update case_retirement_plan
+ set case_retirement_plan_id = #{record.caseRetirementPlanId,jdbcType=VARCHAR},
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+ age = #{record.age,jdbcType=INTEGER},
+ before_inflation_rate = #{record.beforeInflationRate,jdbcType=DECIMAL},
+ after_inflation_rate = #{record.afterInflationRate,jdbcType=DECIMAL},
+ retirement_rate = #{record.retirementRate,jdbcType=DECIMAL},
+ socia_security_rate = #{record.sociaSecurityRate,jdbcType=DECIMAL},
+ rent_rate = #{record.rentRate,jdbcType=DECIMAL},
+ other_rate = #{record.otherRate,jdbcType=DECIMAL},
+ retirement_age = #{record.retirementAge,jdbcType=INTEGER},
+ retirement_years = #{record.retirementYears,jdbcType=INTEGER},
+ living_standard_now = #{record.livingStandardNow,jdbcType=VARCHAR},
+ satisfaction = #{record.satisfaction,jdbcType=INTEGER},
+ satisfaction_living_standard = #{record.satisfactionLivingStandard,jdbcType=VARCHAR},
+ convert_proportion = #{record.convertProportion,jdbcType=DECIMAL},
+ lineage_fee = #{record.lineageFee,jdbcType=DECIMAL},
+ retirement_living_standard = #{record.retirementLivingStandard,jdbcType=VARCHAR},
+ after_living_standard = #{record.afterLivingStandard,jdbcType=VARCHAR},
+ social_insurance = #{record.socialInsurance,jdbcType=DECIMAL},
+ commercial_insurance = #{record.commercialInsurance,jdbcType=DECIMAL},
+ rent_income = #{record.rentIncome,jdbcType=DECIMAL},
+ other_income = #{record.otherIncome,jdbcType=DECIMAL},
+ total_income = #{record.totalIncome,jdbcType=DECIMAL},
+ total_amount = #{record.totalAmount,jdbcType=DECIMAL},
+ return_on_investment_rate = #{record.returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL}
+
+
+
+
+
+ update case_retirement_plan
+
+
+ caseid = #{caseid,jdbcType=VARCHAR},
+
+
+ age = #{age,jdbcType=INTEGER},
+
+
+ before_inflation_rate = #{beforeInflationRate,jdbcType=DECIMAL},
+
+
+ after_inflation_rate = #{afterInflationRate,jdbcType=DECIMAL},
+
+
+ retirement_rate = #{retirementRate,jdbcType=DECIMAL},
+
+
+ socia_security_rate = #{sociaSecurityRate,jdbcType=DECIMAL},
+
+
+ rent_rate = #{rentRate,jdbcType=DECIMAL},
+
+
+ other_rate = #{otherRate,jdbcType=DECIMAL},
+
+
+ retirement_age = #{retirementAge,jdbcType=INTEGER},
+
+
+ retirement_years = #{retirementYears,jdbcType=INTEGER},
+
+
+ living_standard_now = #{livingStandardNow,jdbcType=VARCHAR},
+
+
+ satisfaction = #{satisfaction,jdbcType=INTEGER},
+
+
+ satisfaction_living_standard = #{satisfactionLivingStandard,jdbcType=VARCHAR},
+
+
+ convert_proportion = #{convertProportion,jdbcType=DECIMAL},
+
+
+ lineage_fee = #{lineageFee,jdbcType=DECIMAL},
+
+
+ retirement_living_standard = #{retirementLivingStandard,jdbcType=VARCHAR},
+
+
+ after_living_standard = #{afterLivingStandard,jdbcType=VARCHAR},
+
+
+ social_insurance = #{socialInsurance,jdbcType=DECIMAL},
+
+
+ commercial_insurance = #{commercialInsurance,jdbcType=DECIMAL},
+
+
+ rent_income = #{rentIncome,jdbcType=DECIMAL},
+
+
+ other_income = #{otherIncome,jdbcType=DECIMAL},
+
+
+ total_income = #{totalIncome,jdbcType=DECIMAL},
+
+
+ total_amount = #{totalAmount,jdbcType=DECIMAL},
+
+
+ return_on_investment_rate = #{returnOnInvestmentRate,jdbcType=DECIMAL},
+
+
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+
+
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ regular_year = #{regularYear,jdbcType=INTEGER},
+
+
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+
+
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+
+
+ user_id = #{userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ analysis = #{analysis,jdbcType=LONGVARCHAR},
+
+
+ where case_retirement_plan_id = #{caseRetirementPlanId,jdbcType=VARCHAR}
+
+
+ update case_retirement_plan
+ set caseid = #{caseid,jdbcType=VARCHAR},
+ age = #{age,jdbcType=INTEGER},
+ before_inflation_rate = #{beforeInflationRate,jdbcType=DECIMAL},
+ after_inflation_rate = #{afterInflationRate,jdbcType=DECIMAL},
+ retirement_rate = #{retirementRate,jdbcType=DECIMAL},
+ socia_security_rate = #{sociaSecurityRate,jdbcType=DECIMAL},
+ rent_rate = #{rentRate,jdbcType=DECIMAL},
+ other_rate = #{otherRate,jdbcType=DECIMAL},
+ retirement_age = #{retirementAge,jdbcType=INTEGER},
+ retirement_years = #{retirementYears,jdbcType=INTEGER},
+ living_standard_now = #{livingStandardNow,jdbcType=VARCHAR},
+ satisfaction = #{satisfaction,jdbcType=INTEGER},
+ satisfaction_living_standard = #{satisfactionLivingStandard,jdbcType=VARCHAR},
+ convert_proportion = #{convertProportion,jdbcType=DECIMAL},
+ lineage_fee = #{lineageFee,jdbcType=DECIMAL},
+ retirement_living_standard = #{retirementLivingStandard,jdbcType=VARCHAR},
+ after_living_standard = #{afterLivingStandard,jdbcType=VARCHAR},
+ social_insurance = #{socialInsurance,jdbcType=DECIMAL},
+ commercial_insurance = #{commercialInsurance,jdbcType=DECIMAL},
+ rent_income = #{rentIncome,jdbcType=DECIMAL},
+ other_income = #{otherIncome,jdbcType=DECIMAL},
+ total_income = #{totalIncome,jdbcType=DECIMAL},
+ total_amount = #{totalAmount,jdbcType=DECIMAL},
+ return_on_investment_rate = #{returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+ analysis = #{analysis,jdbcType=LONGVARCHAR}
+ where case_retirement_plan_id = #{caseRetirementPlanId,jdbcType=VARCHAR}
+
+
+ update case_retirement_plan
+ set caseid = #{caseid,jdbcType=VARCHAR},
+ age = #{age,jdbcType=INTEGER},
+ before_inflation_rate = #{beforeInflationRate,jdbcType=DECIMAL},
+ after_inflation_rate = #{afterInflationRate,jdbcType=DECIMAL},
+ retirement_rate = #{retirementRate,jdbcType=DECIMAL},
+ socia_security_rate = #{sociaSecurityRate,jdbcType=DECIMAL},
+ rent_rate = #{rentRate,jdbcType=DECIMAL},
+ other_rate = #{otherRate,jdbcType=DECIMAL},
+ retirement_age = #{retirementAge,jdbcType=INTEGER},
+ retirement_years = #{retirementYears,jdbcType=INTEGER},
+ living_standard_now = #{livingStandardNow,jdbcType=VARCHAR},
+ satisfaction = #{satisfaction,jdbcType=INTEGER},
+ satisfaction_living_standard = #{satisfactionLivingStandard,jdbcType=VARCHAR},
+ convert_proportion = #{convertProportion,jdbcType=DECIMAL},
+ lineage_fee = #{lineageFee,jdbcType=DECIMAL},
+ retirement_living_standard = #{retirementLivingStandard,jdbcType=VARCHAR},
+ after_living_standard = #{afterLivingStandard,jdbcType=VARCHAR},
+ social_insurance = #{socialInsurance,jdbcType=DECIMAL},
+ commercial_insurance = #{commercialInsurance,jdbcType=DECIMAL},
+ rent_income = #{rentIncome,jdbcType=DECIMAL},
+ other_income = #{otherIncome,jdbcType=DECIMAL},
+ total_income = #{totalIncome,jdbcType=DECIMAL},
+ total_amount = #{totalAmount,jdbcType=DECIMAL},
+ return_on_investment_rate = #{returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL}
+ where case_retirement_plan_id = #{caseRetirementPlanId,jdbcType=VARCHAR}
+
+
\ No newline at end of file
diff --git a/src/main/resources/mapper/CaseStartAnUndertakingPlanMapper.xml b/src/main/resources/mapper/CaseStartAnUndertakingPlanMapper.xml
new file mode 100644
index 0000000..2e9be44
--- /dev/null
+++ b/src/main/resources/mapper/CaseStartAnUndertakingPlanMapper.xml
@@ -0,0 +1,467 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ case_start_an_undertaking_plan_id, caseid, age, start_plan_age, distance_year, cost_input,
+ return_on_investment_rate, disposable_input, monthly_investment, regular_year, target_amount,
+ financial_plan, user_id, is_answer, analysis_teacher_score, case_teacher_score
+
+
+ analysis
+
+
+
+
+
+ delete from case_start_an_undertaking_plan
+ where case_start_an_undertaking_plan_id = #{caseStartAnUndertakingPlanId,jdbcType=VARCHAR}
+
+
+ delete from case_start_an_undertaking_plan
+
+
+
+
+
+ insert into case_start_an_undertaking_plan (case_start_an_undertaking_plan_id, caseid,
+ age, start_plan_age, distance_year,
+ cost_input, return_on_investment_rate, disposable_input,
+ monthly_investment, regular_year, target_amount,
+ financial_plan, user_id, is_answer,
+ analysis_teacher_score, case_teacher_score,
+ analysis)
+ values (#{caseStartAnUndertakingPlanId,jdbcType=VARCHAR}, #{caseid,jdbcType=VARCHAR},
+ #{age,jdbcType=INTEGER}, #{startPlanAge,jdbcType=INTEGER}, #{distanceYear,jdbcType=INTEGER},
+ #{costInput,jdbcType=DECIMAL}, #{returnOnInvestmentRate,jdbcType=DECIMAL}, #{disposableInput,jdbcType=DECIMAL},
+ #{monthlyInvestment,jdbcType=DECIMAL}, #{regularYear,jdbcType=INTEGER}, #{targetAmount,jdbcType=DECIMAL},
+ #{financialPlan,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{isAnswer,jdbcType=VARCHAR},
+ #{analysisTeacherScore,jdbcType=DECIMAL}, #{caseTeacherScore,jdbcType=DECIMAL},
+ #{analysis,jdbcType=LONGVARCHAR})
+
+
+ insert into case_start_an_undertaking_plan
+
+
+ case_start_an_undertaking_plan_id,
+
+
+ caseid,
+
+
+ age,
+
+
+ start_plan_age,
+
+
+ distance_year,
+
+
+ cost_input,
+
+
+ return_on_investment_rate,
+
+
+ disposable_input,
+
+
+ monthly_investment,
+
+
+ regular_year,
+
+
+ target_amount,
+
+
+ financial_plan,
+
+
+ user_id,
+
+
+ is_answer,
+
+
+ analysis_teacher_score,
+
+
+ case_teacher_score,
+
+
+ analysis,
+
+
+
+
+ #{caseStartAnUndertakingPlanId,jdbcType=VARCHAR},
+
+
+ #{caseid,jdbcType=VARCHAR},
+
+
+ #{age,jdbcType=INTEGER},
+
+
+ #{startPlanAge,jdbcType=INTEGER},
+
+
+ #{distanceYear,jdbcType=INTEGER},
+
+
+ #{costInput,jdbcType=DECIMAL},
+
+
+ #{returnOnInvestmentRate,jdbcType=DECIMAL},
+
+
+ #{disposableInput,jdbcType=DECIMAL},
+
+
+ #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ #{regularYear,jdbcType=INTEGER},
+
+
+ #{targetAmount,jdbcType=DECIMAL},
+
+
+ #{financialPlan,jdbcType=VARCHAR},
+
+
+ #{userId,jdbcType=VARCHAR},
+
+
+ #{isAnswer,jdbcType=VARCHAR},
+
+
+ #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ #{analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update case_start_an_undertaking_plan
+
+
+ case_start_an_undertaking_plan_id = #{record.caseStartAnUndertakingPlanId,jdbcType=VARCHAR},
+
+
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+
+
+ age = #{record.age,jdbcType=INTEGER},
+
+
+ start_plan_age = #{record.startPlanAge,jdbcType=INTEGER},
+
+
+ distance_year = #{record.distanceYear,jdbcType=INTEGER},
+
+
+ cost_input = #{record.costInput,jdbcType=DECIMAL},
+
+
+ return_on_investment_rate = #{record.returnOnInvestmentRate,jdbcType=DECIMAL},
+
+
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+
+
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+
+
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+
+
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+
+
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+
+
+ user_id = #{record.userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+
+
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update case_start_an_undertaking_plan
+ set case_start_an_undertaking_plan_id = #{record.caseStartAnUndertakingPlanId,jdbcType=VARCHAR},
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+ age = #{record.age,jdbcType=INTEGER},
+ start_plan_age = #{record.startPlanAge,jdbcType=INTEGER},
+ distance_year = #{record.distanceYear,jdbcType=INTEGER},
+ cost_input = #{record.costInput,jdbcType=DECIMAL},
+ return_on_investment_rate = #{record.returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL},
+ analysis = #{record.analysis,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update case_start_an_undertaking_plan
+ set case_start_an_undertaking_plan_id = #{record.caseStartAnUndertakingPlanId,jdbcType=VARCHAR},
+ caseid = #{record.caseid,jdbcType=VARCHAR},
+ age = #{record.age,jdbcType=INTEGER},
+ start_plan_age = #{record.startPlanAge,jdbcType=INTEGER},
+ distance_year = #{record.distanceYear,jdbcType=INTEGER},
+ cost_input = #{record.costInput,jdbcType=DECIMAL},
+ return_on_investment_rate = #{record.returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{record.disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{record.monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{record.regularYear,jdbcType=INTEGER},
+ target_amount = #{record.targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{record.financialPlan,jdbcType=VARCHAR},
+ user_id = #{record.userId,jdbcType=VARCHAR},
+ is_answer = #{record.isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{record.analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{record.caseTeacherScore,jdbcType=DECIMAL}
+
+
+
+
+
+ update case_start_an_undertaking_plan
+
+
+ caseid = #{caseid,jdbcType=VARCHAR},
+
+
+ age = #{age,jdbcType=INTEGER},
+
+
+ start_plan_age = #{startPlanAge,jdbcType=INTEGER},
+
+
+ distance_year = #{distanceYear,jdbcType=INTEGER},
+
+
+ cost_input = #{costInput,jdbcType=DECIMAL},
+
+
+ return_on_investment_rate = #{returnOnInvestmentRate,jdbcType=DECIMAL},
+
+
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+
+
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+
+
+ regular_year = #{regularYear,jdbcType=INTEGER},
+
+
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+
+
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+
+
+ user_id = #{userId,jdbcType=VARCHAR},
+
+
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+
+
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+
+
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+
+
+ analysis = #{analysis,jdbcType=LONGVARCHAR},
+
+
+ where case_start_an_undertaking_plan_id = #{caseStartAnUndertakingPlanId,jdbcType=VARCHAR}
+
+
+ update case_start_an_undertaking_plan
+ set caseid = #{caseid,jdbcType=VARCHAR},
+ age = #{age,jdbcType=INTEGER},
+ start_plan_age = #{startPlanAge,jdbcType=INTEGER},
+ distance_year = #{distanceYear,jdbcType=INTEGER},
+ cost_input = #{costInput,jdbcType=DECIMAL},
+ return_on_investment_rate = #{returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL},
+ analysis = #{analysis,jdbcType=LONGVARCHAR}
+ where case_start_an_undertaking_plan_id = #{caseStartAnUndertakingPlanId,jdbcType=VARCHAR}
+
+
+ update case_start_an_undertaking_plan
+ set caseid = #{caseid,jdbcType=VARCHAR},
+ age = #{age,jdbcType=INTEGER},
+ start_plan_age = #{startPlanAge,jdbcType=INTEGER},
+ distance_year = #{distanceYear,jdbcType=INTEGER},
+ cost_input = #{costInput,jdbcType=DECIMAL},
+ return_on_investment_rate = #{returnOnInvestmentRate,jdbcType=DECIMAL},
+ disposable_input = #{disposableInput,jdbcType=DECIMAL},
+ monthly_investment = #{monthlyInvestment,jdbcType=DECIMAL},
+ regular_year = #{regularYear,jdbcType=INTEGER},
+ target_amount = #{targetAmount,jdbcType=DECIMAL},
+ financial_plan = #{financialPlan,jdbcType=VARCHAR},
+ user_id = #{userId,jdbcType=VARCHAR},
+ is_answer = #{isAnswer,jdbcType=VARCHAR},
+ analysis_teacher_score = #{analysisTeacherScore,jdbcType=DECIMAL},
+ case_teacher_score = #{caseTeacherScore,jdbcType=DECIMAL}
+ where case_start_an_undertaking_plan_id = #{caseStartAnUndertakingPlanId,jdbcType=VARCHAR}
+
+
\ No newline at end of file