|
@ -741,7 +741,7 @@ public class YkyyInternetService extends BaseJpaService<InternetUpErrorLogDO, In
|
|
|
total = list.size();
|
|
|
for(int i=0; i<total; i++) {
|
|
|
LinkedCaseInsensitiveMap info = (LinkedCaseInsensitiveMap) list.get(i);
|
|
|
String sqlMessage = "SELECT m.sender_name AS \"sender_name\", m.`timestamp` AS \"timestamp\", m.content AS \"content\", t.id AS \"id\" FROM im_internet_hospital.topics t " +
|
|
|
String sqlMessage = "SELECT m.sender_name AS \"sender_name\", m.`timestamp` AS \"timestamp\", m.content AS \"content\", t.id AS \"id\" FROM topics t " +
|
|
|
"JOIN muc_messages m ON m.session_id = t.session_id AND m.`timestamp` >= t.create_time AND m.`timestamp` <= t.end_time " +
|
|
|
"AND t.id = '"+info.get("consult").toString()+"' ORDER BY m.`timestamp` ASC";
|
|
|
List<Map<String,Object>> list1 = jdbcTemplate.queryForList(sqlMessage);
|