From 8233dd6497fe36162c018176499cbaa1f80b4a70 Mon Sep 17 00:00:00 2001 From: xiaoCJ <406612557@qq.com> Date: Tue, 22 Oct 2024 16:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E7=94=9F=E6=88=90=E7=94=9F?= =?UTF-8?q?=E6=B6=AF=E8=A7=84=E5=88=92=E7=9B=B8=E5=85=B3=E8=A1=A8=EF=BC=8C?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=90=86=E8=B4=A2=E6=96=B9=E6=A1=88=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/CaseConsumptionPlan.java | 11 + .../entity/CaseConsumptionPlanExample.java | 70 ++ .../entity/CaseLifeEducationPlan.java | 11 + .../entity/CaseLifeEducationPlanExample.java | 70 ++ .../entity/CaseRetirementPlan.java | 11 + .../entity/CaseRetirementPlanExample.java | 70 ++ .../entity/CaseStartAnUndertakingPlan.java | 11 + .../CaseStartAnUndertakingPlanExample.java | 70 ++ .../impl/SynthesisPlanServiceImpl.java | 8 +- src/main/resources/application-pro.yml | 3 +- src/main/resources/application.yml | 2 +- src/main/resources/generatorConfig.xml | 24 +- .../mapper/CaseConsumptionPlanMapper.xml | 862 -------------- .../mapper/CaseLifeEducationPlanMapper.xml | 1036 ----------------- .../mapper/CaseRetirementPlanMapper.xml | 770 ------------ .../CaseStartAnUndertakingPlanMapper.xml | 448 ------- 16 files changed, 343 insertions(+), 3134 deletions(-) delete mode 100644 src/main/resources/mapper/CaseConsumptionPlanMapper.xml delete mode 100644 src/main/resources/mapper/CaseLifeEducationPlanMapper.xml delete mode 100644 src/main/resources/mapper/CaseRetirementPlanMapper.xml delete mode 100644 src/main/resources/mapper/CaseStartAnUndertakingPlanMapper.xml diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlan.java b/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlan.java index 8f16365..e38ac21 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlan.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlan.java @@ -112,6 +112,9 @@ public class CaseConsumptionPlan { @ApiModelProperty("定期定额投资年限") private Integer regularYear; + @ApiModelProperty("理财方案") + private String financialPlan; + @ApiModelProperty("消费规划分析老师评分") private BigDecimal analysisTeacherScore; @@ -399,6 +402,14 @@ public class CaseConsumptionPlan { this.regularYear = regularYear; } + public String getFinancialPlan() { + return financialPlan; + } + + public void setFinancialPlan(String financialPlan) { + this.financialPlan = financialPlan == null ? null : financialPlan.trim(); + } + public BigDecimal getAnalysisTeacherScore() { return analysisTeacherScore; } diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlanExample.java b/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlanExample.java index 97563f2..f0cedb1 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlanExample.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseConsumptionPlanExample.java @@ -2175,6 +2175,76 @@ public class CaseConsumptionPlanExample { return (Criteria) this; } + public Criteria andFinancialPlanIsNull() { + addCriterion("financial_plan is null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIsNotNull() { + addCriterion("financial_plan is not null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanEqualTo(String value) { + addCriterion("financial_plan =", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotEqualTo(String value) { + addCriterion("financial_plan <>", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThan(String value) { + addCriterion("financial_plan >", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThanOrEqualTo(String value) { + addCriterion("financial_plan >=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThan(String value) { + addCriterion("financial_plan <", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThanOrEqualTo(String value) { + addCriterion("financial_plan <=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLike(String value) { + addCriterion("financial_plan like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotLike(String value) { + addCriterion("financial_plan not like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIn(List values) { + addCriterion("financial_plan in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotIn(List values) { + addCriterion("financial_plan not in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanBetween(String value1, String value2) { + addCriterion("financial_plan between", value1, value2, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotBetween(String value1, String value2) { + addCriterion("financial_plan not between", value1, value2, "financialPlan"); + return (Criteria) this; + } + public Criteria andAnalysisTeacherScoreIsNull() { addCriterion("analysis_teacher_score is null"); return (Criteria) this; diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlan.java b/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlan.java index 0aebae6..8aa7833 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlan.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlan.java @@ -141,6 +141,9 @@ public class CaseLifeEducationPlan { @ApiModelProperty("此方案能实现的目标金额") private BigDecimal targetAmount; + @ApiModelProperty("理财方案") + private String financialPlan; + @ApiModelProperty("用户ID") private String userId; @@ -508,6 +511,14 @@ public class CaseLifeEducationPlan { this.targetAmount = targetAmount; } + public String getFinancialPlan() { + return financialPlan; + } + + public void setFinancialPlan(String financialPlan) { + this.financialPlan = financialPlan == null ? null : financialPlan.trim(); + } + public String getUserId() { return userId; } diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlanExample.java b/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlanExample.java index 16d9a74..6ee8ff5 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlanExample.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseLifeEducationPlanExample.java @@ -2765,6 +2765,76 @@ public class CaseLifeEducationPlanExample { return (Criteria) this; } + public Criteria andFinancialPlanIsNull() { + addCriterion("financial_plan is null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIsNotNull() { + addCriterion("financial_plan is not null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanEqualTo(String value) { + addCriterion("financial_plan =", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotEqualTo(String value) { + addCriterion("financial_plan <>", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThan(String value) { + addCriterion("financial_plan >", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThanOrEqualTo(String value) { + addCriterion("financial_plan >=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThan(String value) { + addCriterion("financial_plan <", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThanOrEqualTo(String value) { + addCriterion("financial_plan <=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLike(String value) { + addCriterion("financial_plan like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotLike(String value) { + addCriterion("financial_plan not like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIn(List values) { + addCriterion("financial_plan in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotIn(List values) { + addCriterion("financial_plan not in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanBetween(String value1, String value2) { + addCriterion("financial_plan between", value1, value2, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotBetween(String value1, String value2) { + addCriterion("financial_plan not between", value1, value2, "financialPlan"); + return (Criteria) this; + } + public Criteria andUserIdIsNull() { addCriterion("user_id is null"); return (Criteria) this; diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlan.java b/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlan.java index 4f7adcb..4b24e44 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlan.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlan.java @@ -96,6 +96,9 @@ public class CaseRetirementPlan { @ApiModelProperty("此方案能实现的目标金额") private BigDecimal targetAmount; + @ApiModelProperty("理财方案") + private String financialPlan; + @ApiModelProperty("用户ID") private String userId; @@ -343,6 +346,14 @@ public class CaseRetirementPlan { this.targetAmount = targetAmount; } + public String getFinancialPlan() { + return financialPlan; + } + + public void setFinancialPlan(String financialPlan) { + this.financialPlan = financialPlan == null ? null : financialPlan.trim(); + } + public String getUserId() { return userId; } diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlanExample.java b/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlanExample.java index 88885ec..7ce1c52 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlanExample.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseRetirementPlanExample.java @@ -1905,6 +1905,76 @@ public class CaseRetirementPlanExample { return (Criteria) this; } + public Criteria andFinancialPlanIsNull() { + addCriterion("financial_plan is null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIsNotNull() { + addCriterion("financial_plan is not null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanEqualTo(String value) { + addCriterion("financial_plan =", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotEqualTo(String value) { + addCriterion("financial_plan <>", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThan(String value) { + addCriterion("financial_plan >", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThanOrEqualTo(String value) { + addCriterion("financial_plan >=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThan(String value) { + addCriterion("financial_plan <", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThanOrEqualTo(String value) { + addCriterion("financial_plan <=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLike(String value) { + addCriterion("financial_plan like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotLike(String value) { + addCriterion("financial_plan not like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIn(List values) { + addCriterion("financial_plan in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotIn(List values) { + addCriterion("financial_plan not in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanBetween(String value1, String value2) { + addCriterion("financial_plan between", value1, value2, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotBetween(String value1, String value2) { + addCriterion("financial_plan not between", value1, value2, "financialPlan"); + return (Criteria) this; + } + public Criteria andUserIdIsNull() { addCriterion("user_id is null"); return (Criteria) this; diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlan.java b/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlan.java index 3b15b02..eb128f9 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlan.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlan.java @@ -42,6 +42,9 @@ public class CaseStartAnUndertakingPlan { @ApiModelProperty("此方案能实现的目标金额") private BigDecimal targetAmount; + @ApiModelProperty("理财方案") + private String financialPlan; + @ApiModelProperty("用户ID") private String userId; @@ -145,6 +148,14 @@ public class CaseStartAnUndertakingPlan { this.targetAmount = targetAmount; } + public String getFinancialPlan() { + return financialPlan; + } + + public void setFinancialPlan(String financialPlan) { + this.financialPlan = financialPlan == null ? null : financialPlan.trim(); + } + public String getUserId() { return userId; } diff --git a/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlanExample.java b/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlanExample.java index 7e4fe3b..0187c6f 100644 --- a/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlanExample.java +++ b/src/main/java/com/sztzjy/money_management/entity/CaseStartAnUndertakingPlanExample.java @@ -785,6 +785,76 @@ public class CaseStartAnUndertakingPlanExample { return (Criteria) this; } + public Criteria andFinancialPlanIsNull() { + addCriterion("financial_plan is null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIsNotNull() { + addCriterion("financial_plan is not null"); + return (Criteria) this; + } + + public Criteria andFinancialPlanEqualTo(String value) { + addCriterion("financial_plan =", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotEqualTo(String value) { + addCriterion("financial_plan <>", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThan(String value) { + addCriterion("financial_plan >", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanGreaterThanOrEqualTo(String value) { + addCriterion("financial_plan >=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThan(String value) { + addCriterion("financial_plan <", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLessThanOrEqualTo(String value) { + addCriterion("financial_plan <=", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanLike(String value) { + addCriterion("financial_plan like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotLike(String value) { + addCriterion("financial_plan not like", value, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanIn(List values) { + addCriterion("financial_plan in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotIn(List values) { + addCriterion("financial_plan not in", values, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanBetween(String value1, String value2) { + addCriterion("financial_plan between", value1, value2, "financialPlan"); + return (Criteria) this; + } + + public Criteria andFinancialPlanNotBetween(String value1, String value2) { + addCriterion("financial_plan not between", value1, value2, "financialPlan"); + return (Criteria) this; + } + public Criteria andUserIdIsNull() { addCriterion("user_id is null"); return (Criteria) this; diff --git a/src/main/java/com/sztzjy/money_management/service/impl/SynthesisPlanServiceImpl.java b/src/main/java/com/sztzjy/money_management/service/impl/SynthesisPlanServiceImpl.java index ee1fe32..63ec72f 100644 --- a/src/main/java/com/sztzjy/money_management/service/impl/SynthesisPlanServiceImpl.java +++ b/src/main/java/com/sztzjy/money_management/service/impl/SynthesisPlanServiceImpl.java @@ -866,7 +866,7 @@ public class SynthesisPlanServiceImpl implements SynthesisPlanService { testCenters.put("商业保险", item -> convertToString(item.getCommercialInsurance())); testCenters.put("租金收入", item -> convertToString(item.getRentIncome())); testCenters.put("其他收入", item -> convertToString(item.getOtherIncome())); - testCenters.put("理财方案", item -> convertToString(item.getReturnOnInvestmentRate())); + testCenters.put("理财方案", item -> convertToString(item.getFinancialPlan())); testCenters.put("退休规划分析", CaseRetirementPlan::getAnalysis); for (Map.Entry> entry : testCenters.entrySet()) { @@ -913,7 +913,7 @@ public class SynthesisPlanServiceImpl implements SynthesisPlanService { Map> testCenters = new HashMap<>(); testCenters.put("计划创业年龄", item -> convertToString(item.getStartPlanAge())); testCenters.put("创业时一次性投入", item -> convertToString(item.getCostInput())); - testCenters.put("理财方案", item -> convertToString(item.getReturnOnInvestmentRate())); //学生使用预计投资收益字段 + testCenters.put("理财方案", item -> convertToString(item.getFinancialPlan())); testCenters.put("创业规划分析", CaseStartAnUndertakingPlan::getAnalysis); for (Map.Entry> entry : testCenters.entrySet()) { @@ -971,7 +971,7 @@ public class SynthesisPlanServiceImpl implements SynthesisPlanService { testCenters.put("消费目标-购车-上牌费用", item -> convertToString(item.getCarRegFee())); testCenters.put("消费目标-购车-车船使用税", item -> convertToString(item.getVehicleAndVesselTax())); testCenters.put("消费目标-购车-商业保险", item -> convertToString(item.getMotorVehicleCommercial())); - testCenters.put("理财方案", item -> convertToString(item.getReturnOnInvestment())); //学生端为投资收益率 + testCenters.put("理财方案", item -> convertToString(item.getFinancialPlan())); testCenters.put("消费规划分析", CaseConsumptionPlan::getAnalysis); for (Map.Entry> entry : testCenters.entrySet()) { @@ -1040,7 +1040,7 @@ public class SynthesisPlanServiceImpl implements SynthesisPlanService { testCenters.put("商业保险", item -> convertToString(item.getInsurance())); testCenters.put("储蓄计划", item -> convertToString(item.getDeposit())); testCenters.put("其他安排", item -> convertToString(item.getOther())); - testCenters.put("理财方案", item -> convertToString(item.getReturnOnInvestment())); //理财方案学生端使用【预计投资收益率】字段 + testCenters.put("理财方案", item -> convertToString(item.getFinancialPlan())); testCenters.put("教育规划分析", CaseLifeEducationPlan::getAnalysis); for (Map.Entry> entry : testCenters.entrySet()) { diff --git a/src/main/resources/application-pro.yml b/src/main/resources/application-pro.yml index fdfeff9..425ddd6 100644 --- a/src/main/resources/application-pro.yml +++ b/src/main/resources/application-pro.yml @@ -3,7 +3,8 @@ spring: datasource: druid: db-type: mysql - url: jdbc:mysql://${DB_HOST:120.78.220.29}:${DB_PORT:3306}/${DB_NAME:money_management}?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true +# url: jdbc:mysql://${DB_HOST:120.78.220.29}:${DB_PORT:3306}/${DB_NAME:money_management}?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true + url: jdbc:mysql://${DB_HOST:118.31.7.2}:${DB_PORT:3306}/${DB_NAME:money_management}?useSSL=false&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true&allowMultiQueries=true username: ${DB_USER:root} password: ${DB_PWD:sztzjy2017} driver-class-name: com.mysql.cj.jdbc.Driver diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index f325fb0..d046f3c 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -13,7 +13,7 @@ spring: application: name: trading_system profiles: - active: dev + active: pro mvc: pathmatch: matching-strategy: ant_path_matcher diff --git a/src/main/resources/generatorConfig.xml b/src/main/resources/generatorConfig.xml index f6a475c..bec8b27 100644 --- a/src/main/resources/generatorConfig.xml +++ b/src/main/resources/generatorConfig.xml @@ -45,15 +45,15 @@ - - + +
- +
- +
- + @@ -81,13 +81,13 @@ -
-
-
-
-
-
-
+ + + + + + + diff --git a/src/main/resources/mapper/CaseConsumptionPlanMapper.xml b/src/main/resources/mapper/CaseConsumptionPlanMapper.xml deleted file mode 100644 index c35a083..0000000 --- a/src/main/resources/mapper/CaseConsumptionPlanMapper.xml +++ /dev/null @@ -1,862 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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, 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, - 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}, - #{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, - - - 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}, - - - #{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}, - - - 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}, - 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}, - 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}, - - - 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}, - 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}, - 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 deleted file mode 100644 index f33b2d6..0000000 --- a/src/main/resources/mapper/CaseLifeEducationPlanMapper.xml +++ /dev/null @@ -1,1036 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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, - 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, - 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}, - #{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, - - - 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}, - - - #{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}, - - - 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}, - 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}, - 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}, - - - 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}, - 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}, - 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 deleted file mode 100644 index 1400145..0000000 --- a/src/main/resources/mapper/CaseRetirementPlanMapper.xml +++ /dev/null @@ -1,770 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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, 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, - 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}, - #{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, - - - 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}, - - - #{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}, - - - 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}, - 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}, - 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}, - - - 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}, - 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}, - 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 deleted file mode 100644 index 976f15d..0000000 --- a/src/main/resources/mapper/CaseStartAnUndertakingPlanMapper.xml +++ /dev/null @@ -1,448 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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, - 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, - 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}, - #{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, - - - 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}, - - - #{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}, - - - 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}, - 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}, - 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}, - - - 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}, - 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}, - 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