Browse Source

客户资料查询BUG修复

anderx 7 years ago
parent
commit
0a58cd7978
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

@@ -1685,7 +1685,7 @@
 			on b.location_province=c.id left join district_glossory c1 
 			on b.location_city=c1.id left join district_glossory c2 
 			on b.location_area=c2.id left join industry_category d on b.industry = d.id
-			where  a.status=0
+			where  a.status=0 
 			and a.information_maintainer = #{aid,jdbcType=VARCHAR}
 			<if test="type !=null and type!=''">
 			and a.`type`=#{type,jdbcType=VARCHAR}
@@ -1733,7 +1733,7 @@
 		select count(0)
 			from user a left join organization_identity b 
 			on a.id=b.uid 
-			where a.information_maintainer = #{aid,jdbcType=VARCHAR}
+			where  a.status=0 and a.information_maintainer = #{aid,jdbcType=VARCHAR}
 			<if test="type !=null and type!=''">
 			and a.`type`=#{type,jdbcType=VARCHAR}
 			</if>