1.添加用户投诉岗位
2.管理员对企业和岗位下架
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package com.ruoyi.cms.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.ruoyi.cms.domain.AppUserJobComplaint;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface AppUserJobComplaintMapper extends BaseMapper<AppUserJobComplaint> {
|
||||
|
||||
/**
|
||||
* 查询投诉列表
|
||||
*/
|
||||
List<AppUserJobComplaint> selectAppUserJobComplaintList(AppUserJobComplaint appUserJobComplaint);
|
||||
|
||||
/**
|
||||
* 根据id查询单条
|
||||
*/
|
||||
AppUserJobComplaint selectAppUserJobComplaintById(Long id);
|
||||
|
||||
/**
|
||||
* 根据用户ID+岗位ID查询未删除投诉记录
|
||||
* @param userId 用户ID
|
||||
* @param jobId 岗位ID
|
||||
* @return 投诉记录
|
||||
*/
|
||||
AppUserJobComplaint selectExistComplaint(@Param("userId") Long userId, @Param("jobId") Long jobId);
|
||||
}
|
||||
@@ -31,4 +31,6 @@ public interface CompanyMapper extends BaseMapper<Company>
|
||||
List<Company> selectLikeCompanyList(Company company);
|
||||
|
||||
Company selectCompanyByJobId(Long jobId);
|
||||
|
||||
int updateStatus(Company company);
|
||||
}
|
||||
|
||||
@@ -69,4 +69,12 @@ public interface JobMapper extends BaseMapper<Job> {
|
||||
Long delRowWork();
|
||||
|
||||
List<AppUser> getRecommendByJobId(@Param("jobId") Long jobId);
|
||||
|
||||
public int updateStatus(Job job);
|
||||
|
||||
//根据企业id批量上架岗位
|
||||
public void updateBatchUpStatus(@Param("companyId") Long companyId);
|
||||
|
||||
//根据企业id批量下架架岗位
|
||||
public void updateBatchDownStatus(@Param("companyId") Long companyId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user