xufei 4 rokov pred
rodič
commit
3f05cf861d

+ 1 - 1
src/main/java/com/winhc/service/impl/NodeRelationSuccessStatusServiceImpl.java

@@ -31,7 +31,7 @@ public class NodeRelationSuccessStatusServiceImpl implements RelationService {
         String ds = String.valueOf(map.getOrDefault("ds", "-1"));
         String status = String.valueOf(map.getOrDefault("status", "-1"));
         String topic_type = String.valueOf(map.getOrDefault("topic_type", "-1"));
-        String sql = "REPLACE INTO node_relation_success_status VALUES (" + ds + ", " + status + ", " + topic_type + ", now())";
+        String sql = "REPLACE INTO node_relation_success_status VALUES (" + ds + ", " + status + ", " + topic_type + ", now()" + ", now())";
         jdbcTemplate.execute(sql);
         log.info("save success status | sql:{} |, | cost:{} | !", sql, (System.currentTimeMillis() - start));
         return "success";