Przeglądaj źródła

合伙人Pc编辑

helixiao 1 rok temu
rodzic
commit
24e1f0dde0

+ 2 - 1
src/main/resources/mapper/modules/admin/SysPartnerMapper.xml

@@ -82,7 +82,7 @@
             s.user_id,DATE_FORMAT(s.operation_time, '%Y-%m-%d' ) as time
         FROM sys_user  s
         <where>
-            s.type = 3
+            s.type = 3 and s.status in (1, 4, 5, 6, 7)
             <if test="userId != null ">
                 and s.referrer_id = #{userId}
             </if>
@@ -103,6 +103,7 @@
             s.user_id,DATE_FORMAT(s.operation_time, '%Y-%m-%d' ) as time
         FROM sys_user  s
         <where>
+            s.status in (1, 4, 5, 6, 7)
             <if test="deptIds != null and deptIds != '' and deptIds.size() > 0">
                 AND s.dept_id  in
                 <foreach collection="deptIds" item="deptId" open="(" separator="," close=")">