Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-CloudComputing
/
D_Team_Khuloud
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
toror33
2020-06-10 22:27:30 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4e06117e76e74eadbd9d3891f2fd994c35c8a177
4e06117e
1 parent
b6b63308
연락처 날짜 insert 오류 수정
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
backend/routes/contact.js
backend/routes/contact.js
View file @
4e06117
...
...
@@ -63,8 +63,9 @@ router.post('/contact_upload', upload.single('file'), function(req, res, next) {
else
if
(
j
==
3
){
temp
=
"D"
+
(
i
+
1
);
added_date
.
push
(
firstWSheet
[
temp
].
v
);
sqlquery
+=
'",
"'
+
added_date
[
i
-
1
]
+
'"),'
;
sqlquery
+=
'",
STR_TO_DATE("'
+
added_date
[
i
-
1
]
+
'",'
+
"'%Y.%m.%d')),"
;
}
}
}
sqlquery
=
sqlquery
.
substring
(
0
,
sqlquery
.
length
-
1
);
...
...
Please
register
or
login
to post a comment