Stringsql="select n.*, ns.sender, ns.send_time, nr.user_id, nr.read_time from fc_news n left join (select user_id, news_id, max(read_time) read_time from fc_news_read where user_id = ? group by user_id, news_id) nr on nr.news_id = n.id, fc_news_sender ns where n.id = ns.news_id and (ns.user_id = ? or ns.user_group_id = ?)";
StringsqlRead="select t.user_id, t.news_id, max(t.read_time) read_time from fc_news_read t where t.user_id = ? group by t.user_id, t.news_id";
Stringsql="select n.*, ns.sender, ns.send_time, nr.user_id, nr.read_time from fc_news n left join ("+sqlRead+") nr on nr.news_id = n.id, fc_news_sender ns where n.id = ns.news_id and (ns.user_id = ? or ns.user_group_id = ?) order by n.create_time desc";