laravel經常使用備忘,按期更新

$handle->orWhereRaw('((bbs_title.icm_type = 2 or bbs_title.icm_role_type =2))');ide

$handle->orWhereRaw('(art_order.status in (6,5) and art_order.distribution_id ='.Auth::user()->id.' and art_member_distribution.status = 1 and art_painting.id in ( SELECT painting_id FROM art_member_distribution where distribution_id = '.Auth::user()->id.' GROUP BY painting_id))');
})code

相關文章
相關標籤/搜索