|
|
@@ -2209,12 +2209,18 @@ inner join(
|
|
|
<select id="getUserByNameList" parameterType="java.lang.String" resultType="com.goafanti.customer.bo.CustomerSimpleBo">
|
|
|
select id,nickname name from `user` where type = 1 and status =0 and source in (1,2,3)
|
|
|
and nickname like concat('%',#{name},'%')
|
|
|
+ <if test="type==1">
|
|
|
+ and share_type in (0,2,3,4)
|
|
|
+ </if>
|
|
|
<if test="page_sql != null">
|
|
|
${page_sql}
|
|
|
</if>
|
|
|
</select>
|
|
|
<select id="getUserByNameCount" resultType="java.lang.Integer" >
|
|
|
select count(*) from `user` where type = 1 and status =0 and source in (1,2,3) and nickname like concat('%',#{name},'%')
|
|
|
+ <if test="type==1">
|
|
|
+ and share_type in (0,2,3,4)
|
|
|
+ </if>
|
|
|
</select>
|
|
|
<select id="getAllUser" resultType="com.goafanti.common.bo.OutUser">
|
|
|
select id,name ,province ,name_mobile nameMobile from user_now
|