toror33

연락처 email, phone 다르게 저장되는 오류 수정

...@@ -41,7 +41,7 @@ router.post('/contact_upload', upload.single('file'), function(req, res, next) { ...@@ -41,7 +41,7 @@ router.post('/contact_upload', upload.single('file'), function(req, res, next) {
41 var length = firstWSheet['!ref'][4]; 41 var length = firstWSheet['!ref'][4];
42 var temp =""; 42 var temp ="";
43 43
44 - var sqlquery = "insert into contact(user_id,name,email,phone,added_date) values"; 44 + var sqlquery = "insert into contact(user_id,name,phone,email,added_date) values ";
45 for(var i=1;i<length;i++) 45 for(var i=1;i<length;i++)
46 { 46 {
47 for(var j=0;j<4;j++) 47 for(var j=0;j<4;j++)
......