52,797
社区成员
发帖
与我相关
我的任务
分享
string sql= "select msgid,u_name1,u_name2,msg,roomid,act,ispub,sendtime,face,lastinfo from chat_sendmsg,chatinfo where msgid> ' " + last + " ' and roomid= ' " + roomid + " ' and ((ispub= 'false ') or (u_name1= ' " + name1 + " ') or (u_name2= ' " + name1 + " ') or (u_name2= '所有人 ')) ";