package com.engine.salary.service;

import com.engine.salary.entity.datacollection.dto.AttendQuoteListDTO;
import com.engine.salary.entity.datacollection.param.AttendQuoteQueryParam;
import com.engine.salary.entity.datacollection.po.AttendQuotePO;
import com.engine.salary.util.page.PageInfo;

import java.time.YearMonth;
import java.util.Collection;

public interface AttendQuoteService {

    /**
     * 数据采集-考勤引用列表(分页)
     *
     * @param queryParam
     * @return
     */
    PageInfo<AttendQuoteListDTO> listPage(AttendQuoteQueryParam queryParam);


    /**
     * 删除数据采集-考勤引用
     *
     * @param ids
     * @return
     */
    String delete(Collection<Long> ids);

    /**
     * 检查是否可以操作
     *
     * @param salaryYearMonth
     * @param salarySobId
     * @return
     */
    Boolean checkOperation(YearMonth salaryYearMonth, Long salarySobId);

    AttendQuotePO getById(Long id);

}
