修复用户查询sql错误
This commit is contained in:
parent
4765f9b9f2
commit
03864ae46f
@ -56,7 +56,7 @@ public interface UserMapper {
|
||||
@Select("select * from user where md5(pushKey) = '${sign}'")
|
||||
List<User> checkPushAuthorityByCallId(String sign);
|
||||
|
||||
@Select("select u.idu.username,u.pushKey,u.roleId, r.id as roleID, r.name as roleName, r.authority as roleAuthority , r.createTime as roleCreateTime , r.updateTime as roleUpdateTime FROM user u join user_role r on u.roleId=r.id")
|
||||
@Select("select u.id, u.username,u.pushKey,u.roleId, r.id as roleID, r.name as roleName, r.authority as roleAuthority , r.createTime as roleCreateTime , r.updateTime as roleUpdateTime FROM user u join user_role r on u.roleId=r.id")
|
||||
@ResultMap(value="roleMap")
|
||||
List<User> getUsers();
|
||||
|
||||
|
@ -201,7 +201,7 @@ export default {
|
||||
that.platform.devicePort = res.data.devicePort;
|
||||
that.platform.username = res.data.username;
|
||||
that.platform.password = res.data.password;
|
||||
that.platform.treeType = res.data.treeType;
|
||||
that.platform.treeType = "BusinessGroup";
|
||||
that.platform.administrativeDivision = res.data.username.substr(0, 6);
|
||||
}).catch(function (error) {
|
||||
console.log(error);
|
||||
|
Loading…
Reference in New Issue
Block a user