anderx пре 4 година
родитељ
комит
69fd580d4d
1 измењених фајлова са 7 додато и 4 уклоњено
  1. 7 4
      src/main/java/com/goafanti/common/mapper/UserFollowMapper.xml

+ 7 - 4
src/main/java/com/goafanti/common/mapper/UserFollowMapper.xml

@@ -290,11 +290,14 @@
 		  and b.share_type =0
 		</if>
 		<if test="userType == 2">
-		  and b.share_type =2
-		</if>
-		<if test="userType == 3">
-          and b.share_type =3
+		  and b.share_type =1
 		</if>
+      <if test="userType == 3">
+        and b.share_type =2
+      </if>
+      <if test="userType == 4">
+        and b.share_type =3
+      </if>
 		<if test="contactType != null">
 			and a.contact_type = #{contactType}
 		</if>