song 5 months ago
parent
commit
f777f786fe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/dashitech/migration/task/call/CallLogTask.java

+ 2 - 2
src/main/java/com/dashitech/migration/task/call/CallLogTask.java

@@ -26,8 +26,8 @@ public class CallLogTask extends BaseTask {
26 26
         log.info("通话记录callLog转换开始");
27 27
 
28 28
         StringBuffer sql = new StringBuffer("SELECT version,call_accept,caller_id_number as DTMFA,destination_number as DTMFB,created_time as response_time,");
29
-        sql.append("gate_way as phyIDA,recording_file_name as _path,call_type,is_answered as call_state,branch_id as hos_id");
30
-        sql.append("if(calltime is null,if(is_answered=1,TIMESTAMPDIFF(MINUTE,created_time,over_time),null),calltime) as long_time FROM titsm_call_record");
29
+        sql.append("gate_way as phyIDA,recording_file_name as _path,call_type,is_answered as call_state,branch_id as hos_id,");
30
+        sql.append("if(calltime is null,if(is_answered=1,TIMESTAMPDIFF(MINUTE,created_time,over_time),null),calltime) as long_time FROM itsm_call_record");
31 31
         List<Map<String, Object>> callLogList = jdbcTemplateMdv2.queryForList(sql.toString());
32 32
 
33 33
         FieldMapper mapper = new FieldMapper();