Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
9c854aff
Commit
9c854aff
authored
Nov 14, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充修改数据库价格相关表价格设置字段长度的sql脚本
parent
e6da6df6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
74 additions
and
0 deletions
+74
-0
20241114_price_update.sql
sql/20241114_price_update.sql
+74
-0
No files found.
sql/20241114_price_update.sql
0 → 100644
View file @
9c854aff
-- 产品价格相关数据decimal字段长度修改
alter
table
ecw_product_price
modify
COLUMN
`transport_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'运费'
;
alter
table
ecw_product_price
modify
COLUMN
`clearance_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'清关费用'
;
alter
table
ecw_product_price
modify
COLUMN
`all_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'全包价金额'
;
alter
table
ecw_product_price
modify
COLUMN
`min_weight`
decimal
(
10
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'最小计费重量'
;
alter
table
ecw_product_price
modify
COLUMN
`square`
decimal
(
10
,
2
)
DEFAULT
NULL
COMMENT
'方数要求'
;
alter
table
ecw_product_price
modify
COLUMN
`day_limit`
decimal
(
10
,
2
)
DEFAULT
NULL
COMMENT
'每日入仓上限,立方米'
;
alter
table
ecw_product_price
modify
COLUMN
`weight_limit`
decimal
(
10
,
2
)
DEFAULT
'0.00'
COMMENT
'路线重量上限'
;
alter
table
ecw_product_price_packaging
modify
COLUMN
`packaging_price`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'包装单位收费'
;
alter
table
ecw_product_price_special
modify
COLUMN
`transport_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'运费'
;
alter
table
ecw_product_price_special
modify
COLUMN
`clearance_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'清关费用'
;
alter
table
ecw_product_price_special
modify
COLUMN
`all_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'全包价格'
;
alter
table
ecw_product_price_step
modify
COLUMN
`start_num`
decimal
(
10
,
2
)
NOT
NULL
COMMENT
'起始数量'
;
alter
table
ecw_product_price_step
modify
COLUMN
`end_num`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'结束数量'
;
alter
table
ecw_product_price_step
modify
COLUMN
`transport_price`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'运费'
;
alter
table
ecw_product_price_step
modify
COLUMN
`clearance_price`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'清关费用'
;
alter
table
ecw_product_price_step
modify
COLUMN
`all_price`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'全包价格'
;
alter
table
ecw_product_price_step_clearance
modify
COLUMN
`start_num`
decimal
(
10
,
2
)
NOT
NULL
COMMENT
'起始数量'
;
alter
table
ecw_product_price_step_clearance
modify
COLUMN
`end_num`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'结束数量'
;
alter
table
ecw_product_price_step_clearance
modify
COLUMN
`clearance_price`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'清关费用'
;
alter
table
ecw_product_price_step_packaging
modify
COLUMN
`packaging_price`
decimal
(
15
,
2
)
DEFAULT
NULL
COMMENT
'包装单位收费'
;
alter
table
ecw_product_price_step_special
modify
COLUMN
`transport_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'运费'
;
alter
table
ecw_product_price_step_special
modify
COLUMN
`clearance_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'清关费用'
;
alter
table
ecw_product_price_step_special
modify
COLUMN
`all_price`
decimal
(
15
,
2
)
NOT
NULL
DEFAULT
'0.00'
COMMENT
'全包价格'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment