$temporary1 = DB::select(‘select hair_bbs_article.*,hair_member.nickname,hair_member.headphoto,‘
.‘ (‘.$articleSort.‘ +(hair_bbs_article.order * ‘.$tenDayTime.‘)) as order1 from hair_bbs_article‘
.‘ left join hair_member on hair_bbs_article.mid = hair_member.mid‘
.‘ where(hair_bbs_article.examine = 1 and hair_bbs_article.deleted_at is null and hair_bbs_article.announcement = 0‘
.‘ and hair_bbs_article.stick_date = 0‘
. $creamSql
.‘ and hair_bbs_article.pid = ‘.$pid.‘)‘
.‘ order by order1 desc‘
.‘ limit ‘.$page_number.‘,‘.$page_size);
时间: 2024-10-06 11:44:05