add-api-edit-order

This commit is contained in:
lccsw
2021-10-22 11:50:54 +08:00
parent 603d21a8cb
commit b643f5b1e3
21 changed files with 859 additions and 53 deletions
+3 -2
View File
@@ -69,7 +69,7 @@ create table lc_receiver_order_contracts (
file varchar(255) not null default '' comment '合同文件地址',
imgs json default null comment '合同图片地址',
jsondata json default null comment '其他信息',
type tinyint(1) not null default '0' comment '合同类型(0整车合同 1代理协议 2确定信息 3交接信息)',
type tinyint(1) not null default '0' comment '合同类型(0整车合同 1代理协议 2确定信息 3交接信息 4车辆买卖合同补充协议 5委托服务补充协议)',
status tinyint(1) not null default '0' comment '状态(0未签署 1已签署)',
sign_time timestamp not null default '0000-00-00 00:00:00' comment '签名时间',
c_time int(10) unsigned not null default '0' comment '创建时间',
@@ -127,13 +127,14 @@ create table lc_receiver_order_oplogs (
order_id int(10) unsigned not null comment '订单id',
uid int(10) unsigned not null comment '操作用户id',
uname varchar(32) not null default '' comment '用户名',
type tinyint(1) not null default '0' comment '类型 0 普通 1短信 2电话',
type tinyint(1) not null default '0' comment '类型 0 普通 1短信 2电话 3修改订单信息',
log varchar(256) not null default '' comment '操作内容',
cf_platform varchar(10) not null default '' comment '来源平台',
c_time int(10) unsigned not null default '0' comment '创建时间',
u_time timestamp not null default current_timestamp on update current_timestamp,
primary key (id)
) ENGINE=INNODB DEFAULT CHARSET=UTF8MB4 COLLATE=UTF8MB4_0900_AI_CI COMMENT='订单操作日志表';
alter table lc_receiver_order_oplogs add log_json json default null comment '修改json数据' after log;
-- ----------------------------
-- Title:订单合同签订