|
@@ -3,7 +3,7 @@
|
|
<mapper namespace="com.fdkankan.manage.mapper.IJyUserPlatformMapper">
|
|
<mapper namespace="com.fdkankan.manage.mapper.IJyUserPlatformMapper">
|
|
|
|
|
|
<select id="pageList" resultType="com.fdkankan.manage.vo.request.JyUserPlatformVo">
|
|
<select id="pageList" resultType="com.fdkankan.manage.vo.request.JyUserPlatformVo">
|
|
- select up.id,up.id_card,up.ry_nick_name as name ,up.phone,up.platform_id,up.status,up.create_time,jp.platform_address from jy_user up
|
|
|
|
|
|
+ select up.id,up.ry_id,up.ry_no,up.id_card,up.ry_nick_name as name ,up.phone,up.platform_id,up.status,up.create_time,jp.platform_address from jy_user up
|
|
<if test="param.isJm != null and param.isJM == 0">
|
|
<if test="param.isJm != null and param.isJM == 0">
|
|
left join jy_platform jp on up.platform_id = jp.id
|
|
left join jy_platform jp on up.platform_id = jp.id
|
|
</if>
|
|
</if>
|
|
@@ -11,6 +11,9 @@
|
|
<if test="param.isJm != null and param.isJM == 1">
|
|
<if test="param.isJm != null and param.isJM == 1">
|
|
and up.is_jm =1
|
|
and up.is_jm =1
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="param.isJm != null and param.isJM == 0">
|
|
|
|
+ and up.is_jm =0
|
|
|
|
+ </if>
|
|
<if test="param.name != null and param.name !=''">
|
|
<if test="param.name != null and param.name !=''">
|
|
and up.ry_nick_name like concat ('%',#{param.name},'%')
|
|
and up.ry_nick_name like concat ('%',#{param.name},'%')
|
|
</if>
|
|
</if>
|