- left join t_order_mid e on b.order_no =e.order_no left join business_project bp on a.commodity_id =bp.id left join business_category bc on bp.cid =bc.id
- left join t_task_mid ttm on a.id=ttm.tid left join admin ta on a.task_receiver =ta.id left join department td on ta.department_id =td.id
<if test="screen ==6">
right join (select tid ,accept_count sls from t_task_mid where accept_count > 0)tj on a.id=tj.tid