Commit ac6c1c5b by 孙喜旺

修改sql不等于符号

1 parent d5d32783
...@@ -66,11 +66,11 @@ ...@@ -66,11 +66,11 @@
( (
select to_list as receiver, `action` , msg_time, msg_type, contact select to_list as receiver, `action` , msg_time, msg_type, contact
from we_chat_contact_msg from we_chat_contact_msg
where from_id = ${fromId} and <![CDATA[ room_id <> '' ]]> where from_id = ${fromId} and room_id &lt;&gt; ''
union union
select from_id as receiver, `action`, msg_time, msg_type, contact select from_id as receiver, `action`, msg_time, msg_type, contact
from we_chat_contact_msg from we_chat_contact_msg
where FIND_IN_SET(${fromId}, to_list) and <![CDATA[ room_id <> '' ]]> where FIND_IN_SET(${fromId}, to_list) and room_id &lt;&gt; ''
order by msg_time desc order by msg_time desc
) as msg group by receiver order by msg.msg_time desc) t ) as msg group by receiver order by msg.msg_time desc) t
inner join we_group wg on t.receiver = wg.chat_id; inner join we_group wg on t.receiver = wg.chat_id;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!