add-auto-finance

This commit is contained in:
lccsw
2021-09-08 18:01:59 +08:00
parent b6e5040ca3
commit 02d55f4a05
10 changed files with 670 additions and 4 deletions
+19
View File
@@ -101,3 +101,22 @@ create table lc_auto_fine (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='车辆精品';
-- ----------------------------
-- Title:车型金融信息
-- Author:lcc
-- Table:lc_auto_car_finance
-- ---------------------------
drop table if exists lc_auto_car_finance;
create table lc_auto_car_finance (
id int(10) unsigned not null auto_increment comment '自增id',
car_id int(10) unsigned not null default '0' comment '车型库id',
fin_id int(10) unsigned not null default '0' comment '金融产品id',
first_pay decimal(12,2) not null default '0.00' comment '首付(万元)',
mouth_pay decimal(12,2) not null default '0.00' comment '月供',
srv_pay decimal(12,2) not null default '0.00' comment '服务费',
num int(3) unsigned not null default '0' comment '金融期数',
status tinyint(1) not null default '1' comment '状态:-1删除,0关闭,1开启',
c_time int(10) not null default '0' comment '创建时间',
u_time timestamp not null default current_timestamp on update current_timestamp comment '更新时间',
primary key (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='车型金融信息'
+1
View File
@@ -184,3 +184,4 @@ create table lc_receiver_orders (
alter table lc_receiver_orders add pack_id int(10) unsigned not null default 0 comment '服务包id' after incor_id;
alter table lc_receiver_orders add main_type tinyint(1) unsigned not null default 0 comment '购车主体(0个人 1公司)' after admin_id;
alter table lc_receiver_orders add ifentrust tinyint(1) unsigned not null default 0 comment '是否委托代办' after main_type;
alter table lc_receiver_orders add delry_time timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '期望交付时间' after status;