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 193af1b6
authored
Mar 10, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优加车拍月中版本相关ddl填写
1 parent
215d2fa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
02_5.6.4_20260317/sql/DDL/立庆组aus_ddl.sql
02_5.6.4_20260317/sql/DDL/立庆组aus_ddl.sql
0 → 100644
View file @
193af1b
###
章家宝
-----------------start-------------------
alter
table
auction
add
column
extra_json
text
null
comment
'拓展字段'
,
add
column
auction_mode
int
not
null
default
1
comment
'如果是明拍,那么1 是普通模式, 2 是轮询出价模式,如果是暗拍,改字段暂时无效'
;
alter
table
vehicle
add
column
auto_bid_switch
int
not
null
default
0
comment
'系统自动加价开关 1 开启 0 关闭 默认关闭'
,
add
column
auto_bid_range
decimal
(
9
,
2
)
comment
'加价幅度,单位 : 元'
,
add
column
auto_bid_trigger
decimal
(
9
,
2
)
comment
'加价触发时机, 在几秒触发,'
;
alter
table
bid
add
column
bid_type
int
not
null
default
0
comment
'0 个人用户 1 系统加价助手 2 后台人员加价'
,
add
column
user_id
int
null
default
0
comment
'当bid_type = 2 时,该字段保存的是后台人员的id'
;
alter
table
bid
modify
column
ACCOUNT_ID
int
null
comment
'用户账号'
;
CREATE
TABLE
`system_config`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID'
,
`config_key`
varchar
(
64
)
NOT
NULL
COMMENT
'配置键(唯一,如:auction_auto_bid_step)'
,
`config_name`
varchar
(
128
)
NOT
NULL
COMMENT
'配置名称'
,
`config_value`
varchar
(
255
)
NOT
NULL
COMMENT
'配置值(存储具体值,如:100)'
,
`config_type`
tinyint
(
2
)
NOT
NULL
COMMENT
'配置类型(1:数值型;2:字符串型;3:布尔型;4:日期型;5:JSON型)'
,
`status`
tinyint
(
2
)
NOT
NULL
COMMENT
'状态(1:启用;2:禁用)'
,
`created_by`
varchar
(
64
)
NOT
NULL
COMMENT
'创建人'
,
`create_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`updated_by`
varchar
(
64
)
NOT
NULL
COMMENT
'修改人'
,
`update_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'修改时间'
,
`deleted_flag`
char
(
1
)
NOT
NULL
DEFAULT
'N'
COMMENT
'删除标识(D:已删除;N:未删除)'
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`uk_config_key`
(
`config_key`
)
USING
BTREE
COMMENT
'配置键唯一索引(避免重复配置)'
,
KEY
`idx_status`
(
`status`
)
USING
BTREE
COMMENT
'状态索引(快速筛选启用/禁用配置)'
,
KEY
`idx_deleted_flag`
(
`deleted_flag`
)
USING
BTREE
COMMENT
'删除标识索引(过滤已删除数据)'
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_unicode_ci
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