手机端查询人员数据
This commit is contained in:
@@ -794,13 +794,15 @@
|
||||
</select>
|
||||
|
||||
<select id="getUserByName" resultType="com.adc.da.sys.entity.UserPhoneDTO">
|
||||
select USID as usId ,concat( UNAME,concat(concat('(',ts_user.USID),')')) as userName from ts_user
|
||||
select USID as usId ,concat( UNAME,concat(concat('(',ts_user.USID),')')) as userName ,
|
||||
(select count(USID) from ts_user ) as total
|
||||
from ts_user
|
||||
where 1=1
|
||||
<if test="name != null and name != '' ">
|
||||
ts_user.UNAME like concat(concat('%',#{name}),'%') or
|
||||
ts_user.USID like concat(concat('%',#{name}),'%')
|
||||
</if>
|
||||
|
||||
limit ${(page-1)*20},${page*20}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user