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 9393a3de
authored
Aug 12, 2026
by
chenxi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交改动内容
1 parent
08ae89f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
2 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 @
9393a3d
...
@@ -106,7 +106,7 @@ ALTER TABLE dj_car_life_vd_owner
...
@@ -106,7 +106,7 @@ ALTER TABLE dj_car_life_vd_owner
###
周立明
---------------start---------------------------------
###
周立明
---------------start---------------------------------
ALTER
TABLE
`dj_smartcarlife`
.
`dj_car_life_pay_bill_transfer_record`
ALTER
TABLE
`dj_smartcarlife`
.
`dj_car_life_pay_bill_transfer_record`
ADD
COLUMN
`adjustment_fee`
decimal
(
20
,
2
)
NULL
COMMENT
'调整费用'
AFTER
`amount`
;
ADD
COLUMN
`adjustment_fee`
decimal
(
20
,
2
)
NULL
COMMENT
'调整费用'
AFTER
`amount`
;
CREATE
TABLE
`dj_car_life_special_bank_account`
(
CREATE
TABLE
`dj_car_life_special_bank_account`
(
...
@@ -140,4 +140,35 @@ CREATE TABLE `dj_car_life_special_bank_account_log` (
...
@@ -140,4 +140,35 @@ CREATE TABLE `dj_car_life_special_bank_account_log` (
PRIMARY
KEY
(
`id`
),
PRIMARY
KEY
(
`id`
),
KEY
`sb_account_id_index`
(
`sb_account_id`
)
KEY
`sb_account_id_index`
(
`sb_account_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'特殊银行账号操作日志表'
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
COMMENT
=
'特殊银行账号操作日志表'
;
###
周立明
---------------end---------------------------------
\ No newline at end of file
\ No newline at end of file
###
周立明
---------------end---------------------------------
###
陈希
测试环境已提交
---------------start---------------------------------
alter
table
dj_car_life_purchase_goods_info
add
column
purchase_cost_type
tinyint
default
0
null
comment
'采购成本带入方式 0-自定义成本 1-默认带入产品成本'
after
suit_car_type
;
alter
table
dj_car_life_merchant_goods_info
add
column
sale_mode
tinyint
default
null
comment
'销售模式 0-零售 1-批发'
after
product_cost_Type
;
CREATE
TABLE
`dj_car_life_merchant_goods_stock_move_record`
(
`id`
BIGINT
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键'
,
`yq_merchant_id`
INT
(
11
)
DEFAULT
NULL
COMMENT
'园区店商户号'
,
`old_upgrade_goods_id`
INT
(
11
)
DEFAULT
NULL
COMMENT
'旧产品ID(dj_car_life_upgrade_goods.id)'
,
`old_commodity_code`
VARCHAR
(
50
)
DEFAULT
NULL
COMMENT
'旧UID(commodity_code)'
,
`new_upgrade_goods_id`
INT
(
11
)
DEFAULT
NULL
COMMENT
'新产品ID'
,
`new_commodity_code`
VARCHAR
(
50
)
DEFAULT
NULL
COMMENT
'新UID'
,
`move_stock_num`
DECIMAL
(
18
,
2
)
DEFAULT
NULL
COMMENT
'本次移动库存数量'
,
`created_by`
VARCHAR
(
50
)
DEFAULT
NULL
COMMENT
'操作人'
,
`created_date`
DATETIME
DEFAULT
NULL
COMMENT
'操作时间'
,
`updated_by`
VARCHAR
(
50
)
DEFAULT
NULL
COMMENT
'修改人'
,
`updated_date`
DATETIME
DEFAULT
NULL
COMMENT
'修改时间'
,
`deleted_flag`
VARCHAR
(
1
)
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标示:D 已删除;N 未删除[默认]'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_yq_old_goods`
(
`yq_merchant_id`
,
`old_upgrade_goods_id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COMMENT
=
'园区店库存移动记录表'
;
###
陈希
---------------end---------------------------------
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