feat: There is no way the user jwt

This commit is contained in:
super_liu
2021-10-18 12:45:02 +08:00
parent 8317333e96
commit 91ff42cb12
7 changed files with 66 additions and 7 deletions
@@ -106,6 +106,8 @@ public interface UserEODao extends BaseMapper<UserEO> {
*/
UserEO selectOrgByPrimaryKey(String usid);
List<UserEO> getUser(String usid);
Integer selectOrgCountByPrimaryKey(String usid);
UserEO selectRoleMessageByPrimaryKey(String usid);
@@ -71,6 +71,8 @@ public interface IUserEOService extends IService<UserEO> {
public UserEO getOrgIdByUserId(String userId);
public List<UserEO> getUser(String userId);
public UserEO getUserByLoginNameNotDeleted(String userName);
@@ -428,6 +428,11 @@ public class UserEOServiceImpl extends ServiceImpl<UserEODao, UserEO> implements
return this.baseMapper.get(userId);
}
@Transactional(readOnly = true, rollbackFor = Exception.class)
public List<UserEO> getUser(String usid){
return this.baseMapper.getUser(usid);
}
/**
* @Author liwenxuan