diff --git a/doc/api/loan-pricing-workflow-api.md b/doc/api/loan-pricing-workflow-api.md index aafc370..1604140 100644 --- a/doc/api/loan-pricing-workflow-api.md +++ b/doc/api/loan-pricing-workflow-api.md @@ -309,7 +309,7 @@ GET /loanPricing/workflow/20250119143025123 "midPerFinMan": "false", "midPerEtc": "true", "bpMid": "-15", - "totoalBpRelevance": "-50", + "totalBpRelevance": "-50", "applyAmt": "500000", "bpLoanAmount": "0", "loanPurpose": "consumer", @@ -325,7 +325,7 @@ GET /loanPricing/workflow/20250119143025123 "interestOverdue": "false", "cardOverdue": "false", "bpGreyOverdue": "0", - "totoalBpRisk": "0", + "totalBpRisk": "0", "totalBp": "-80", "calculateRate": "2.65" }, @@ -364,7 +364,7 @@ GET /loanPricing/workflow/20250119143025123 "isGreenLoan": "false", "isTechEnt": "true", "bpEntType": "-25", - "totoalBpRelevance": "-55", + "totalBpRelevance": "-55", "loanTerm": "36", "bpLoanTerm": "0", "applyAmt": "1000000", @@ -377,7 +377,7 @@ GET /loanPricing/workflow/20250119143025123 "interestOverdue": "false", "cardOverdue": "false", "bpGreyOverdue": "0", - "totoalBpRisk": "0", + "totalBpRisk": "0", "totalBp": "-85", "calculateRate": "2.60" } diff --git a/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelCorpOutputFields.java b/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelCorpOutputFields.java index f5b33d2..48aaca7 100644 --- a/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelCorpOutputFields.java +++ b/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelCorpOutputFields.java @@ -88,7 +88,8 @@ public class ModelCorpOutputFields { // BP_企业客户类别 private String bpEntType; // TOTAL_BP_关联度 - private String totoalBpRelevance; + @TableField("totoal_bp_relevance") + private String totalBpRelevance; // 贷款期限 private String loanTerm; // BP_贷款期限 @@ -112,7 +113,8 @@ public class ModelCorpOutputFields { // BP_灰名单与逾期 private String bpGreyOverdue; // TOTAL_BP_风险度 - private String totoalBpRisk; + @TableField("totoal_bp_risk") + private String totalBpRisk; // 浮动BP private String totalBp; // 测算利率 diff --git a/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelRetailOutputFields.java b/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelRetailOutputFields.java index 09d069d..f5c5698 100644 --- a/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelRetailOutputFields.java +++ b/ruoyi-loan-pricing/src/main/java/com/ruoyi/loanpricing/domain/entity/ModelRetailOutputFields.java @@ -116,8 +116,9 @@ public class ModelRetailOutputFields { // BP_中间业务 private String bpMid; - // TOTAL_BP_关联度(注意原字段名拼写错误:totoalBpRelevance,已保留原拼写) - private String totoalBpRelevance; + // TOTAL_BP_关联度 + @TableField("totoal_bp_relevance") + private String totalBpRelevance; // 申请金额 private String applyAmt; @@ -164,8 +165,9 @@ public class ModelRetailOutputFields { // BP_灰名单与逾期 private String bpGreyOverdue; - // TOTAL_BP_风险度(注意原字段名拼写错误:totoalBpRisk,已保留原拼写) - private String totoalBpRisk; + // TOTAL_BP_风险度 + @TableField("totoal_bp_risk") + private String totalBpRisk; // 浮动BP private String totalBp; diff --git a/ruoyi-loan-pricing/src/main/resources/data/corp_output.json b/ruoyi-loan-pricing/src/main/resources/data/corp_output.json index 080ea2d..3c4ef5a 100644 --- a/ruoyi-loan-pricing/src/main/resources/data/corp_output.json +++ b/ruoyi-loan-pricing/src/main/resources/data/corp_output.json @@ -37,7 +37,7 @@ "isGreenLoan": "1", "isTechEnt": "1", "bpEntType": "7.5", - "totoalBpRelevance": "9.2", + "totalBpRelevance": "9.2", "bpLoanTerm": "3.3", "applyAmt": "5000000.00", "bpLoanAmount": "5.8", @@ -48,7 +48,7 @@ "prinOverdue": "0", "interestOverdue": "0", "bpGreyOverdue": "0", - "totoalBpRisk": "1.2", + "totalBpRisk": "1.2", "totalBp": "48.2", "baseLoanRate": "3.45", "calculateRate": "3.932", diff --git a/ruoyi-loan-pricing/src/main/resources/data/retail_output.json b/ruoyi-loan-pricing/src/main/resources/data/retail_output.json index 68269ea..78c4034 100644 --- a/ruoyi-loan-pricing/src/main/resources/data/retail_output.json +++ b/ruoyi-loan-pricing/src/main/resources/data/retail_output.json @@ -35,7 +35,7 @@ "midPerFinMan": "5000.00", "midPerEtc": "180.00", "bpMid": "45", - "totoalBpRelevance": "90", + "totalBpRelevance": "90", "applyAmt": "200000.00", "bpLoanAmount": "60", "loanPurpose": "个人消费", @@ -51,7 +51,7 @@ "interestOverdue": "否", "cardOverdue": "否", "bpGreyOverdue": "98", - "totoalBpRisk": "95", + "totalBpRisk": "95", "totalBp": "350", "calculateRate": "6.15", "loanRateHistory": "6.40", diff --git a/ruoyi-ui/src/views/loanPricing/workflow/components/ModelOutputDisplay.vue b/ruoyi-ui/src/views/loanPricing/workflow/components/ModelOutputDisplay.vue index e9f97f1..2f045dc 100644 --- a/ruoyi-ui/src/views/loanPricing/workflow/components/ModelOutputDisplay.vue +++ b/ruoyi-ui/src/views/loanPricing/workflow/components/ModelOutputDisplay.vue @@ -70,7 +70,7 @@ {{ formatBoolean(retailOutput.midPerFinMan) }} {{ formatBoolean(retailOutput.midPerEtc) }} {{ retailOutput.bpMid || '-' }} - {{ retailOutput.totoalBpRelevance || '-' }} + {{ retailOutput.totalBpRelevance || '-' }} @@ -98,7 +98,7 @@ {{ formatBoolean(retailOutput.interestOverdue) }} {{ formatBoolean(retailOutput.cardOverdue) }} {{ retailOutput.bpGreyOverdue || '-' }} - {{ retailOutput.totoalBpRisk || '-' }} + {{ retailOutput.totalBpRisk || '-' }} @@ -164,7 +164,7 @@ {{ corpOutput.payroll || '-' }} {{ corpOutput.invLoanAmount || '-' }} {{ corpOutput.bpPayroll || '-' }} - {{ corpOutput.totoalBpRelevance || '-' }} + {{ corpOutput.totalBpRelevance || '-' }} @@ -200,7 +200,7 @@ {{ formatBoolean(corpOutput.prinOverdue) }} {{ formatBoolean(corpOutput.interestOverdue) }} {{ corpOutput.bpGreyOverdue || '-' }} - {{ corpOutput.totoalBpRisk || '-' }} + {{ corpOutput.totalBpRisk || '-' }}