You've already forked FrameTour-BE
后台接口修改
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
|
||||
<update id="update" parameterType="com.ycwl.basic.model.pc.adminUser.req.AddOrUpdateAdminUserReqVO">
|
||||
update admin_user
|
||||
set `role_id` =#{roleId}
|
||||
set `role_id` =#{roleId}, `account`=#{account}, `name`=#{name}, `phone`=#{phone}
|
||||
where id = #{id}
|
||||
</update>
|
||||
<update id="updatePassword">
|
||||
@ -44,6 +44,9 @@
|
||||
au.id,
|
||||
au.phone,
|
||||
au.name,
|
||||
au.account,
|
||||
au.create_time,
|
||||
au.status,
|
||||
r.id as roleId,
|
||||
r.name as roleName
|
||||
from admin_user au,
|
||||
@ -54,6 +57,10 @@
|
||||
and
|
||||
locate(#{name},au.`name`) > 0
|
||||
</if>
|
||||
<if test="account!=null and account!=''">
|
||||
and
|
||||
locate(#{account},au.`account`) > 0
|
||||
</if>
|
||||
<if test="phone!=null and phone!=''">
|
||||
and
|
||||
locate(#{phone},au.`phone`) > 0
|
||||
|
Reference in New Issue
Block a user