getInfo添加互联网pc端,获取是否是经办端人员,是给直播权限

This commit is contained in:
sh
2026-06-24 18:38:00 +08:00
parent 525e2a55a8
commit 7d09bd59e3
8 changed files with 47 additions and 0 deletions

View File

@@ -56,4 +56,6 @@ public interface AppUserMapper extends BaseMapper<AppUser>
void batchAddUser(List<AppUser> list);
AppUser getAppUserBase(@Param("idCard") String idCard);
Integer getIsJbdUser(@Param("idCard") String idCard);
}

View File

@@ -99,4 +99,6 @@ public interface IAppUserService
public void updateAppUserWgyEncrypt();
public AppUser getAppUserBase(String idCard);
Integer getIsJbdUser(String idCard);
}

View File

@@ -1129,4 +1129,9 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
public AppUser getAppUserBase(String idCard){
return appUserMapper.getAppUserBase(idCard);
}
@Override
public Integer getIsJbdUser(String idCard) {
return appUserMapper.getIsJbdUser(idCard);
}
}

View File

@@ -15,6 +15,8 @@ public class StringUtil {
/*1101(求职者)、1102(招聘者)、1103(网格员)、1104(内部工作者)*/
public static final Long COMPANY_ADMIN_ROLE_KEY = 1102L;
public static final Long QZZ_ADMIN_ROLE_KEY = 1101L;
/************************移动端角色开始***************************/
/**
* 移动端-企业用户

View File

@@ -332,4 +332,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where aac147=#{idCard} limit 1
</select>
<select id="getIsJbdUser" resultType="java.lang.Integer">
select count(dw_userid) from dwd_system_user where id_card=#{idCard}
</select>
</mapper>