Browse Source

客户资料BUG修复

anderx 7 years ago
parent
commit
3944fa11e4
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -1686,7 +1686,7 @@
 			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
-			a.information_maintainer = #{aid,jdbcType=VARCHAR}
+			and a.information_maintainer = #{aid,jdbcType=VARCHAR}
 			<if test="type !=null and type!=''">
 			and a.`type`=#{type,jdbcType=VARCHAR}
 			</if>
@@ -1805,6 +1805,7 @@ from
 	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 1=1
 		<if test="type !=null and type!=''">
 			and a.`type`=#{type,jdbcType=VARCHAR}
 			</if>