From ade4100aebf92e72146aedb5e969be922835dedf Mon Sep 17 00:00:00 2001 From: wkc <978997012@qq.com> Date: Thu, 30 Apr 2026 09:13:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=9A=E5=8A=A1=E7=A7=8D?= =?UTF-8?q?=E7=B1=BB=E5=8E=86=E5=8F=B2=E5=88=A9=E7=8E=87=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/add_business_type_history_rate_20260429.sql | 4 ++++ sql/loan_pricing_prod_init_20260331.sql | 2 ++ sql/loan_pricing_schema_20260328.sql | 2 ++ sql/loan_pricing_workflow.sql | 2 ++ 4 files changed, 10 insertions(+) create mode 100644 sql/add_business_type_history_rate_20260429.sql diff --git a/sql/add_business_type_history_rate_20260429.sql b/sql/add_business_type_history_rate_20260429.sql new file mode 100644 index 0000000..4d1e1fc --- /dev/null +++ b/sql/add_business_type_history_rate_20260429.sql @@ -0,0 +1,4 @@ +-- 为利率定价流程添加业务种类和历史贷款利率字段 +ALTER TABLE `loan_pricing_workflow` + ADD COLUMN `business_type` varchar(20) DEFAULT NULL COMMENT '业务种类' AFTER `loan_purpose`, + ADD COLUMN `loan_rate_history` varchar(100) DEFAULT NULL COMMENT '历史贷款利率' AFTER `business_type`; diff --git a/sql/loan_pricing_prod_init_20260331.sql b/sql/loan_pricing_prod_init_20260331.sql index 647288a..dbea035 100644 --- a/sql/loan_pricing_prod_init_20260331.sql +++ b/sql/loan_pricing_prod_init_20260331.sql @@ -763,6 +763,8 @@ CREATE TABLE `loan_pricing_workflow` ( `is_tax_a` varchar(10) DEFAULT NULL COMMENT '是否纳税信用等级A级: true/false', `is_agri_leading` varchar(10) DEFAULT NULL COMMENT '是否县级及以上农业龙头企业: true/false', `loan_purpose` varchar(20) DEFAULT NULL COMMENT '贷款用途: consumer-消费/business-经营', + `business_type` varchar(20) DEFAULT NULL COMMENT '业务种类', + `loan_rate_history` varchar(100) DEFAULT NULL COMMENT '历史贷款利率', `biz_proof` varchar(10) DEFAULT NULL COMMENT '是否有经营佐证: true/false', `loan_loop` varchar(10) DEFAULT NULL COMMENT '循环功能: true/false(贷款合同是否开通循环功能)', `coll_type` varchar(20) DEFAULT NULL COMMENT '抵质押类型: 一类/二类/三类/四类', diff --git a/sql/loan_pricing_schema_20260328.sql b/sql/loan_pricing_schema_20260328.sql index c4439ee..5ba3769 100644 --- a/sql/loan_pricing_schema_20260328.sql +++ b/sql/loan_pricing_schema_20260328.sql @@ -345,6 +345,8 @@ CREATE TABLE `loan_pricing_workflow` ( `is_tax_a` varchar(10) DEFAULT NULL COMMENT '是否纳税信用等级A级: true/false', `is_agri_leading` varchar(10) DEFAULT NULL COMMENT '是否县级及以上农业龙头企业: true/false', `loan_purpose` varchar(20) DEFAULT NULL COMMENT '贷款用途: consumer-消费/business-经营', + `business_type` varchar(20) DEFAULT NULL COMMENT '业务种类', + `loan_rate_history` varchar(100) DEFAULT NULL COMMENT '历史贷款利率', `biz_proof` varchar(10) DEFAULT NULL COMMENT '是否有经营佐证: true/false', `loan_loop` varchar(10) DEFAULT NULL COMMENT '循环功能: true/false(贷款合同是否开通循环功能)', `coll_type` varchar(20) DEFAULT NULL COMMENT '抵质押类型: 一类/二类/三类/四类', diff --git a/sql/loan_pricing_workflow.sql b/sql/loan_pricing_workflow.sql index 08c6956..7f3fc18 100644 --- a/sql/loan_pricing_workflow.sql +++ b/sql/loan_pricing_workflow.sql @@ -26,6 +26,8 @@ CREATE TABLE `loan_pricing_workflow` ( `is_tax_a` varchar(10) DEFAULT NULL COMMENT '是否纳税信用等级A级: true/false', `is_agri_leading` varchar(10) DEFAULT NULL COMMENT '是否县级及以上农业龙头企业: true/false', `loan_purpose` varchar(20) DEFAULT NULL COMMENT '贷款用途: consumer-消费/business-经营', + `business_type` varchar(20) DEFAULT NULL COMMENT '业务种类', + `loan_rate_history` varchar(100) DEFAULT NULL COMMENT '历史贷款利率', `biz_proof` varchar(10) DEFAULT NULL COMMENT '是否有经营佐证: true/false', `loan_loop` varchar(10) DEFAULT NULL COMMENT '循环功能: true/false(贷款合同是否开通循环功能)', `coll_type` varchar(20) DEFAULT NULL COMMENT '抵质押类型: 一类/二类/三类/四类',