mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2026-04-08 00:00:02 +08:00
用户管理 左侧加机构树
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a",
|
||||
"name" : "保存",
|
||||
"createTime" : null,
|
||||
"updateTime" : 1641261914841,
|
||||
"updateTime" : 1642085497821,
|
||||
"lock" : "0",
|
||||
"method" : "POST",
|
||||
"path" : "/save",
|
||||
@@ -31,7 +31,8 @@ var user = {
|
||||
username,
|
||||
password: password,
|
||||
phone,
|
||||
isLogin
|
||||
isLogin,
|
||||
officeId
|
||||
}
|
||||
if(id){
|
||||
SqlCache.delete(`permissions:${id}`)
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"groupId" : "4f0230049d7e4f39b1e0897cc0f46f9a",
|
||||
"name" : "列表",
|
||||
"createTime" : null,
|
||||
"updateTime" : 1634738477796,
|
||||
"updateTime" : 1642086792944,
|
||||
"lock" : "0",
|
||||
"method" : "GET",
|
||||
"path" : "/list",
|
||||
@@ -28,9 +28,11 @@ return db.page("""
|
||||
su.name,
|
||||
su.is_login,
|
||||
su.phone,
|
||||
su.create_date
|
||||
su.create_date,
|
||||
su.office_id
|
||||
from sys_user su
|
||||
where su.is_del = 0
|
||||
?{officeId, and su.office_id = #{officeId}}
|
||||
?{username, and su.username like concat('%',#{username},'%')}
|
||||
?{name, and su.name like concat('%',#{name},'%')}
|
||||
?{isLogin, and su.is_login = #{isLogin}}
|
||||
|
||||
Reference in New Issue
Block a user