Commit eff63c65 by Joneq

完成开发

parent 9cfeeeac
Showing with 1 additions and 1 deletions
...@@ -139,7 +139,7 @@ func handleCurrentTable(tableName,currentDate string) { ...@@ -139,7 +139,7 @@ func handleCurrentTable(tableName,currentDate string) {
currentKey+="data_sync_time," currentKey+="data_sync_time,"
valueString += "?," valueString += "?,"
currentString = append(currentString,time.Now().Format("2006-01-02")) currentString = append(currentString,time.Now().Format("2006-01-02 15:04:05"))
currentString[0] = `INSERT INTO `+tableName+` (`+currentKey[:len(currentKey)-1]+`)VALUES (`+valueString[:len(valueString)-1]+`)` currentString[0] = `INSERT INTO `+tableName+` (`+currentKey[:len(currentKey)-1]+`)VALUES (`+valueString[:len(valueString)-1]+`)`
_, err = sqlDb.Exec(currentString...) _, err = sqlDb.Exec(currentString...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment