anderx лет назад: 7
Родитель
Сommit
e701950b60
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -1760,7 +1760,7 @@
 			from user a left join organization_identity b 
 			on a.id=b.uid 
 			<if test="follow  !=null and follow!=''">
-			left join (select aid,uid,contact_type from user_follow where aid= #{aid,jdbcType=VARCHAR} and contact_type=0 group by uid) e on a.id=e.uid and a.aid=e.aid
+			left join (select aid,uid,contact_type from user_follow where aid= #{aid,jdbcType=VARCHAR} and contact_type=0 GROUP by uid) e on a.id=e.uid and a.aid=e.aid
 			</if>
 			where  a.status=0 and a.information_maintainer = #{aid,jdbcType=VARCHAR}
 			<if test="type !=null and type!=''">