Browse Source

处理前端数据问题

anderx 3 years ago
parent
commit
0d4f3ca44a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/mapper/UserMidMapper.xml

+ 2 - 2
src/main/java/com/goafanti/common/mapper/UserMidMapper.xml

@@ -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>