anderx 1 год назад
Родитель
Сommit
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>