| | |
| | | public int resetUserPwd(String userName, String password) { |
| | | return userMapper.resetUserPwd(userName, password); |
| | | } |
| | | @Override |
| | | public int resetUserShopPwd(String userName, String password) { |
| | | return userMapper.resetUserShopPwd(userName, password); |
| | | } |
| | | |
| | | /** |
| | | * 新增用户角色信息 |
| | |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public int deleteUserByIds(Long[] userIds) { |
| | | public void deleteUserByIds(Long[] userIds) { |
| | | Long userid = tokenService.getLoginUser().getUserid(); |
| | | SysUser sysUser = this.getById(userid); |
| | | for (Long userId : userIds) { |
| | |
| | | userMapper.deleteUserById(user.getUserId()); |
| | | } |
| | | } |
| | | return 0; |
| | | } |
| | | |
| | | /** |