|
|
@@ -570,7 +570,7 @@
|
|
|
and a.sign_time BETWEEN #{signTimeStart} and #{signTimeEnd}
|
|
|
</if>
|
|
|
group by b.aid,b.id)x group by x.aid)y on y.aid=a.id
|
|
|
- where r.role_type in (96,996)
|
|
|
+ where a.status='正常' and r.role_type in (96,996)
|
|
|
<if test="aid != null">
|
|
|
and a.id= #{aid}
|
|
|
</if>
|
|
|
@@ -603,7 +603,7 @@
|
|
|
from t_order_new a left join user b on b.id=a.buyer_id
|
|
|
where a.process_status >4 and b.share_type =2 and a.delete_sign in(0,2)
|
|
|
group by b.aid)x on a.id=x.aid
|
|
|
- where r.role_type in (96,996)
|
|
|
+ where a.status='正常' and r.role_type in (96,996)
|
|
|
<if test="aid != null">
|
|
|
and a.id= #{aid}
|
|
|
</if>
|