anderx пре 1 година
родитељ
комит
642c6795f1
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -2456,6 +2456,9 @@ inner join(
 		<if test="shareType !=null and shareType !=4">
 			and a.share_type = #{shareType}
 		</if>
+		<if test="shareType ==0">
+			and a.new_channel = 0
+		</if>
 		<if test="shareType ==4">
 			and a.new_channel = 1
 		</if>
@@ -2486,6 +2489,9 @@ inner join(
 		<if test="shareType !=null and shareType !=4">
 			and a.share_type = #{shareType}
 		</if>
+		<if test="shareType ==0">
+			and a.new_channel = 0
+		</if>
 		<if test="shareType ==4">
 			and a.new_channel = 1
 		</if>