LaborServiceDictMapper.java 1.1 KB
package com.subsidy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.model.LaborServiceDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.vo.labor.LaborAccountVO;
import com.subsidy.vo.labor.LaborsVO;
import com.subsidy.vo.labor.TalentManagementVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 劳务公司字典表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2024-07-25
 */
@Repository
public interface LaborServiceDictMapper extends BaseMapper<LaborServiceDictDO> {

    IPage<LaborsVO> labors(IPage iPage, String laborServiceName);

    /**
     * 查看伙伴账户
     */
    IPage<LaborAccountVO> laborAccount(IPage iPage, String accountName);

    /**
     * 某个账户关联多少个伙伴
     */
    List<LaborServiceDictDO> relateLabors(Long administerId);

    /**
     * 查看账号下关联的伙伴ids
     */
    List<Long> accountLabors(Long administerId);

    /**
     * 人才管理
     */
    IPage<TalentManagementVO> talentManagement(IPage iPage,Long laborId,String userName);

}