Explorar el Código

私有渠道排序修改

anderx hace 3 años
padre
commit
94f9aa5de1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

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

@@ -1502,12 +1502,12 @@
 		select b.id,b.nickname as name from
 			(select uid from user_lock_release  where type = 0  and status = 0 and aid = #{aid} group by uid) a
 		inner join user b on a.uid = b.id
-			where b.status != 1 and b.channel =0  and new_channel=0 and b.nickname like concat('%',#{name},'%')
+			where b.status = 0 and b.channel =0  and new_channel=0 and b.nickname like concat('%',#{name},'%')
     </select>
 
     <select id="selectSignedCustomerByName"  resultType="com.goafanti.customer.bo.CustomerSimpleBo">
    	 	select b.id,b.nickname as name from user b
-	where b.status != 1 and  b.new_channel=0
+	where b.status = 0 and  b.new_channel=0
 	<if test="type==2">
 	and b.channel=1
 	</if>