Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
ht_project_doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6e5dd6f3
authored
Aug 12, 2026
by
周立明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
DDL/dj_smartcarlife_ddl.sql
1 parent
586d4639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
1 deletions
26_v5.8.5_20260826/sql/DDL/dj_smartcarlife_ddl.sql
26_v5.8.5_20260826/sql/DDL/dj_smartcarlife_ddl.sql
View file @
6e5dd6f
...
...
@@ -101,4 +101,43 @@ ALTER TABLE dj_car_life_vd_owner
ADD
COLUMN
customer_tags
varchar
(
32
)
DEFAULT
NULL
COMMENT
'日报标签(逗号分割: 1=已触客,2=已拉群,3=已交付引荐,4=首保维保客户,5=事故车客户)'
,
ADD
COLUMN
actual_delivery_date
DATETIME
DEFAULT
NULL
COMMENT
'客户实际交付日期'
;
###
范富荣
---------------end---------------------------------
\ No newline at end of file
###
范富荣
---------------end---------------------------------
###
周立明
---------------start---------------------------------
ALTER
TABLE
`dj_smartcarlife`
.
`dj_car_life_pay_bill_transfer_record`
ADD
COLUMN
`adjustment_fee`
decimal
(
20
,
2
)
NULL
COMMENT
'调整费用'
AFTER
`amount`
;
CREATE
TABLE
`dj_car_life_special_bank_account`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID'
,
`account_type`
tinyint
(
2
)
NOT
NULL
COMMENT
'账号类型(1.灵工平台,2.个体工商户,3.其他)'
,
`merchant_id`
int
(
11
)
DEFAULT
NULL
COMMENT
'商户号'
,
`bank_account_no`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'银行帐号'
,
`bank_account_name`
varchar
(
100
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'账户名称'
,
`open_acc_bank_name`
varchar
(
128
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'开户行名称(支行)'
,
`remark`
varchar
(
200
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'备注'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'创建人'
,
`created_date`
datetime
NOT
NULL
COMMENT
'创建时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'修改人'
,
`updated_date`
datetime
DEFAULT
NULL
COMMENT
'修改时间'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标识:N未删除,D已删除'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_bank_account_name_no`
(
`bank_account_name`
,
`bank_account_no`
),
KEY
`idx_merchant_id`
(
`merchant_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'特殊银行账号'
;
CREATE
TABLE
`dj_car_life_special_bank_account_log`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID'
,
`sb_account_id`
int
(
11
)
NOT
NULL
COMMENT
'特殊银行账号记录ID'
,
`oper_type`
int
(
11
)
NOT
NULL
COMMENT
'操作类型(1:新增,2:修改,3:删除)'
,
`change_content`
text
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'变更内容'
,
`created_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
COMMENT
'创建人'
,
`created_date`
datetime
NOT
NULL
COMMENT
'创建时间'
,
`updated_by`
varchar
(
64
)
COLLATE
utf8mb4_unicode_ci
DEFAULT
NULL
COMMENT
'修改人'
,
`updated_date`
datetime
DEFAULT
NULL
COMMENT
'修改时间'
,
`deleted_flag`
char
(
1
)
COLLATE
utf8mb4_unicode_ci
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标识:N未删除,D已删除'
,
PRIMARY
KEY
(
`id`
),
KEY
`sb_account_id_index`
(
`sb_account_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'特殊银行账号操作日志表'
;
###
周立明
---------------end---------------------------------
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment