update:无岗位用户无法访问系统
This commit is contained in:
@@ -129,6 +129,8 @@ public interface UserEODao extends BaseMapper<UserEO> {
|
||||
|
||||
String selectOrgByUserId(String userId);
|
||||
|
||||
String selectPositionByUserId(String userId);
|
||||
|
||||
List<UserEO> queryUserEoList(UserEOPage page);
|
||||
/***
|
||||
* 添加SSO来源用户
|
||||
|
||||
@@ -55,6 +55,8 @@ public interface IUserEOService extends IService<UserEO> {
|
||||
|
||||
public List<String> selectThatOrgUser(String userId);
|
||||
|
||||
String selectPositionByUserId(String userId);
|
||||
|
||||
public List<UserEO> queryUserEoList(UserEOPage page);
|
||||
|
||||
public List<UserEO> queryUserInfoByWordNum(String workNum);
|
||||
|
||||
@@ -394,6 +394,11 @@ public class UserEOServiceImpl extends ServiceImpl<UserEODao, UserEO> implements
|
||||
return userIdList;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String selectPositionByUserId(String userId) {
|
||||
return baseMapper.selectPositionByUserId(userId);
|
||||
}
|
||||
|
||||
|
||||
public List<UserEO> queryUserEoList(UserEOPage page) {
|
||||
page.setValidFlag("0");
|
||||
|
||||
@@ -639,6 +639,14 @@
|
||||
FROM TS_USER_ORG tuo
|
||||
WHERE tuo.USER_ID = #{userId}
|
||||
</select>
|
||||
|
||||
<select id="selectPositionByUserId" resultType="java.lang.String"
|
||||
parameterType="java.lang.String">
|
||||
SELECT position_id
|
||||
FROM ts_user_position tuo
|
||||
WHERE tuo.USER_ID = #{userId}
|
||||
limit 1
|
||||
</select>
|
||||
<!--syt:查询所有用户信息-->
|
||||
<select id="queryUserEoList" resultMap="BaseResultMap" parameterType="com.adc.da.sys.page.UserEOPage">
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user