package com.qmth.sop.business.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qmth.sop.business.bean.result.SysDingGroupResult;
import com.qmth.sop.business.entity.SysDingGroup;
import com.qmth.sop.common.enums.ServiceStatusEnum;

import java.util.Map;

/**
 * 考勤组表 服务类
 *
 * @author: shudonghui
 * @date: 2023-08-02 14:21:11
 * @version: 1.0
 * @email: shudonghui@qmth.com.cn
 * @Company: www.qmth.com.cn
 */
public interface SysDingGroupService extends IService<SysDingGroup>{

    /**
    * 查询列表
    *
    * @param iPage
    * @return
    */
    IPage<SysDingGroupResult> query(IPage<Map> iPage, Long serviceId, ServiceStatusEnum status, Long[] supplierIds, Long[] dingRoleIds, Long[] approveRoleIds, Boolean faceOpen, Long createStartTime, Long createEndTime);
    /**
    * 新增考勤组表
    *
    * @param sysDingGroup
    */
    void add(SysDingGroupResult sysDingGroup);

    /**
    * 修改考勤组表
    *
    * @param sysDingGroup
    */
    void update(SysDingGroupResult sysDingGroup);

    /**
    * 删除考勤组表
    *
    * @param id
    */
    void delete(Long id);
}