Browse Source

Merge branch 'test' of git@git.coding.net:aft/AFT.git into test

wanghui 8 years ago
parent
commit
4004472e57
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -95,14 +95,14 @@
 	</select>
 	<select id="selectPersonalCustomerCount" resultType="java.lang.Integer">
 		select count(0)
-			from user a inner join user_identity b on a.id = b.uid
+		from user a inner join user_identity b on a.id = b.uid
 		left join district_glossory dg1 on b.province = dg1.id
 		left join district_glossory dg2 on b.city = dg2.id
 		left join district_glossory dg3 on b.area = dg3.id
 		left join industry_category c on b.industry = c.id
 		left join admin d on a.aid = d.id 		
 		where a.type = 0  and a.status != 1 and a.audit_status = 1	
-		AND b.expert_audit=2
+		AND a.audit_status=1
 		<if test="aid != null and aid !=''">
 			and a.aid = #{aid,jdbcType=VARCHAR}
 		</if>