package com.sqx.modules.resumes.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.sqx.common.utils.Result; import com.sqx.modules.resumes.entity.PostDetails; import com.sqx.modules.resumes.entity.PostPush; import com.sqx.modules.resumes.vo.CityVo; import com.sqx.modules.resumes.vo.LetterCity; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.time.LocalDateTime; import java.util.List; /** * @author fang * @date 2022/8/3 */ @Mapper public interface PostPushDao extends BaseMapper { int insertPostPush(PostPush postPush); IPage getPostPushList(@Param("page") Page page, @Param("lng") Double lng, @Param("lat") Double lat, @Param("postPush") PostPush postPush, @Param("industry") String[] industry, @Param("education") String[] education, @Param("experience") String[] experience, @Param("companyPeople") String[] companyPeople, @Param("salaryRange") String[] salaryRange, @Param("screen") Integer screen, @Param("isDue") Integer isDue); IPage selectPostList(Page page, Integer ruleClassifyId, String address, Long userId); List getLetter(); List getCityList(@Param("letter") String letter, @Param("city") String city); List getCountyByCity(@Param("city") String city); List getHotCity(Integer limitCount); List getCityCounty(); PostPush selectPostId(@Param("userId") Long userId, @Param("postPushId") Long postPushId, @Param("lng") Double lng, @Param("lat") Double lat); List getCityCompanyId(@Param("companyId") Long companyId); List getCompanyClassify(@Param("companyId") Long companyId); IPage getAdminPostPushList(@Param("pages") Page pages, @Param("postPush") PostPush postPush, @Param("startTime") String startTime, @Param("endTime") String endTime); List getHotPost(); List getPostPushListUser(Double lng, Double lat, PostPush postPush, String[] industry, String[] education, String[] experience, String[] companyPeople, String[] salaryRange); }