|  | @@ -380,7 +380,13 @@
 | 
	
		
			
				|  |  |                                      </if>
 | 
	
		
			
				|  |  |                                  </where>
 | 
	
		
			
				|  |  |                  ) AS black_num,
 | 
	
		
			
				|  |  | -                (select COUNT(*) FROM qw_user) AS qw_member_num
 | 
	
		
			
				|  |  | +                (select COUNT(*) FROM qw_user
 | 
	
		
			
				|  |  | +                <where>
 | 
	
		
			
				|  |  | +                    <if test="companyId != null">
 | 
	
		
			
				|  |  | +                       AND company_id = ${companyId}
 | 
	
		
			
				|  |  | +                    </if>
 | 
	
		
			
				|  |  | +                </where>
 | 
	
		
			
				|  |  | +        ) AS qw_member_num
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |      <select id="getCurrentBalanceCompanyId" resultType="java.math.BigDecimal">
 | 
	
		
			
				|  |  |          select sum(money) from company
 |