package com.cool.store.service;

import com.cool.store.dto.inspection.setting.AddInspectionSettingDTO;
import com.cool.store.dto.inspection.setting.CheckInspectionSettingDTO;
import com.cool.store.dto.inspection.setting.DeleteInspectionSettingDTO;
import com.cool.store.dto.inspection.setting.UpdateInspectionSettingDTO;
import com.cool.store.vo.inspection.setting.InspectionSettingCheckVO;
import com.cool.store.vo.inspection.setting.InspectionSettingDetailVO;
import com.cool.store.vo.inspection.setting.InspectionSettingPageVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author zhangchenbiao
 * @FileName: InspectionSettingService
 * @Description:
 * @date 2023-07-18 15:57
 */
public interface InspectionSettingService {

    /**
     *稽核区域设置列表
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<InspectionSettingPageVO> getInspectionSettingPage(Integer pageNum, Integer pageSize);

    /**
     * 获取详情
     * @param inspectionSettingId
     * @return
     */
    InspectionSettingDetailVO getInspectionSettingDetail(Long inspectionSettingId);

    /**
     * 新增稽核区域设置
     * @param userId
     * @param param
     * @return
     */
    Long addInspectionSetting(String userId, AddInspectionSettingDTO param);

    /**
     * 更新稽核区域设置
     * @param userId
     * @param param
     * @return
     */
    Integer updateInspectionSetting(String userId, UpdateInspectionSettingDTO param);

    /**
     * 删除稽核区域设置
     * @param userId
     * @param inspectionSettingId
     * @return
     */
    Integer deleteInspectionSetting(String userId, Long inspectionSettingId);

    /**
     * 校验稽核区域设置
     * @param param
     * @return
     */
    List<InspectionSettingCheckVO> checkInspectionSetting(CheckInspectionSettingDTO param);

    /**
     * 获取已经绑定的人员
     * @return
     */
    List<String> getBingUser();
    
}
