1.修改查询求职者条件
2.返回企业userId
This commit is contained in:
@@ -34,5 +34,7 @@ public interface CompanyMapper extends BaseMapper<Company>
|
||||
|
||||
int updateStatus(Company company);
|
||||
|
||||
int updateLcToLocalStatus(Company company);
|
||||
|
||||
List<Company> selectAdminCompanyList(Company company);
|
||||
}
|
||||
|
||||
@@ -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已失效");
|
||||
|
||||
Reference in New Issue
Block a user