|
@@ -3,7 +3,7 @@
|
|
|
<mapper namespace="com.fdkankan.manage.mapper.IJyUserPlatformMapper">
|
|
|
|
|
|
<select id="pageList" resultType="com.fdkankan.manage.vo.request.JyUserPlatformVo">
|
|
|
- select * from jy_user up
|
|
|
+ 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
|
|
|
left join jy_platform jp on up.platform_id = jp.id
|
|
|
where up.rec_status = 'A' and jp.rec_status = 'A' and jp.status !=0 and up.id_card != jp.id_card
|
|
|
<if test="param.name != null and param.name !=''">
|
|
@@ -25,7 +25,7 @@
|
|
|
|
|
|
</select>
|
|
|
<select id="queryByKey" resultType="com.fdkankan.manage.vo.JyUserPlatform">
|
|
|
- select * from jy_user where rec_status = 'A'
|
|
|
+ select id,id_card,ry_nick_name as name ,phone,platform_id,status,create_time from jy_user where rec_status = 'A'
|
|
|
<if test="queryKey != null and queryKey !=''">
|
|
|
and ( ry_nick_name = #{queryKey} or phone = #{queryKey} or id_card = #{queryKey} )
|
|
|
</if>
|