Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
马玮
/
carspider
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
60bf5aba
authored
Aug 18, 2017
by
马玮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sql changes
parent
0d7afade
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
lib/helpers/Dealer.js
+1
-1
res.html
+0
-0
sql/history.sql
+3
-3
No files found.
lib/helpers/Dealer.js
View file @
60bf5aba
...
@@ -200,7 +200,7 @@ class DealerHelper {
...
@@ -200,7 +200,7 @@ class DealerHelper {
valuesSql
.
push
(
valueSql
);
valuesSql
.
push
(
valueSql
);
}
}
const
sql
=
`INSERT INTO crm_clue
2
(
const
sql
=
`INSERT INTO crm_clue (
customer_id, customer_name, customer_phone, intention_des, intention_id, shop_name, shop_id,
customer_id, customer_name, customer_phone, intention_des, intention_id, shop_name, shop_id,
salesman_name, salesman_id, clue_input_type, create_type, create_time
salesman_name, salesman_id, clue_input_type, create_type, create_time
) VALUES
${
valuesSql
.
join
(
','
)}
ON DUPLICATE KEY UPDATE
) VALUES
${
valuesSql
.
join
(
','
)}
ON DUPLICATE KEY UPDATE
...
...
res.html
View file @
60bf5aba
This diff is collapsed.
Click to expand it.
sql/history.sql
View file @
60bf5aba
UPDATE
`crm_dd_input_type`
SET
`name`
=
'易车'
WHERE
(
`id`
=
'21'
)
UPDATE
`crm_dd_input_type`
SET
`name`
=
'易车'
WHERE
(
`id`
=
'21'
)
;
ALTER
TABLE
`crm_clue`
ALTER
TABLE
`crm_clue`
ADD
INDEX
`customer_car`
(
`shop_id`
,
`clue_input_type`
,
`customer_phone`
,
`intention_des`
,
`create_time`
)
;
ADD
INDEX
`customer_car`
(
`shop_id`
,
`clue_input_type`
,
`customer_phone`
,
`intention_des`
,
`create_time`
);
\ No newline at end of file
\ No newline at end of file
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