Explorar o código

我的客户列表详情与跟进列表的修改

anderx hai 1 ano
pai
achega
03f22598dd
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -2453,9 +2453,12 @@ inner join(
 		<if test="name != null">
 			and a.nickname like concat('%',#{name},'%')
 		</if>
-		<if test="shareType !=null">
+		<if test="shareType !=null and shareType !=4">
 			and a.share_type = #{shareType}
 		</if>
+		<if test="shareType ==4">
+			and a.new_channel = 1
+		</if>
 		<if test="level !=null">
 			and a.level = #{level}
 		</if>
@@ -2480,9 +2483,12 @@ inner join(
 		<if test="name != null">
 			and a.nickname like concat('%',#{name},'%')
 		</if>
-		<if test="shareType !=null">
+		<if test="shareType !=null and shareType !=4">
 			and a.share_type = #{shareType}
 		</if>
+		<if test="shareType ==4">
+			and a.new_channel = 1
+		</if>
 		<if test="level !=null">
 			and a.level = #{level}
 		</if>