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
e0a4527c
Commit
e0a4527c
authored
Oct 27, 2024
by
yanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore:因为客户跟进表会有原来的跟进数据录入,故需要先把原来的跟进跟进编号录入到日志表中
parent
1f64a49b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
20241026.sql
sql/v2.1/20241026.sql
+6
-1
No files found.
sql/v2.1/20241026.sql
View file @
e0a4527c
-- 客户主营类型 由 单个 改为 多个逗号分隔
alter
table
`ecw_customer`
alter
table
`ecw_customer`
change
column
`product_type`
`product_types`
varchar
(
300
)
DEFAULT
NULL
COMMENT
'主营类型,多个逗号分隔'
;
change
column
`product_type`
`product_types`
varchar
(
300
)
DEFAULT
NULL
COMMENT
'主营类型,多个逗号分隔'
;
-- 因为客户跟进表会有原来的跟进数据录入,故需要先把原来的跟进跟进编号录入到日志表中
-- 注意更新后 需要在应用启动前执行。因为此表会缓存。
insert
into
ecw_order_number_log
(
number_key
,
`number`
,
type
,
version
,
creator
,
create_time
,
updater
,
update_time
,
deleted
)
select
'followup:new:number'
,
max
(
`number`
),
6
,
0
,
1
,
CURRENT_TIMESTAMP
,
1
,
CURRENT_TIMESTAMP
,
0
from
ecw_customer_followup
;
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