Merge remote-tracking branch 'origin/wvp-28181-2.0' into wvp-28181-2.0
This commit is contained in:
@@ -55,4 +55,11 @@ 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")
|
||||
@ResultMap(value="roleMap")
|
||||
List<User> getUsers();
|
||||
|
||||
@Delete("update user set pushKey=MD5(NOW()+#{id}) where id=#{id}")
|
||||
int resetPushKey(int id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user