1.修改查询求职者条件

2.返回企业userId
This commit is contained in:
chenshaohua
2026-07-23 18:59:18 +08:00
parent e2c9d7e72d
commit a8213022cb
4 changed files with 33 additions and 2 deletions

View File

@@ -34,5 +34,7 @@ public interface CompanyMapper extends BaseMapper<Company>
int updateStatus(Company company);
int updateLcToLocalStatus(Company company);
List<Company> selectAdminCompanyList(Company company);
}

View File

@@ -773,6 +773,12 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserMapper,AppUser> imple
@Override
public void changeLcCompanyStatus(AppUser appUser) {
//修改本地企业状态
Company company=new Company();
company.setUserId(appUser.getUserId());
company.setStatus(Integer.parseInt(appUser.getStatus()));
int i=companyMapper.updateLcToLocalStatus(company);
//修改浪潮企业状态
String lcUserToken=redisCache.getCacheObject(CacheConstants.LC_JGD_TOKEN+appUser.getLcUserid());
if(StringUtils.isBlank(lcUserToken)){
throw new RuntimeException("token已失效");