package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.checkPoint.CheckPointRecord;

import java.util.List;


/**
 * 巡更点记录Service接口
 * 
 * @author boman
 * @date 2025-02-14
 */
public interface ICheckPointRecordService 
{
    /**
     * 查询巡更点记录
     * 
     * @param checkPointRecordId 巡更点记录主键
     * @return 巡更点记录
     */
    public CheckPointRecord selectCheckPointRecordByCheckPointRecordId(Long checkPointRecordId);

    /**
     * 查询巡更点记录列表
     * 
     * @param checkPointRecord 巡更点记录
     * @return 巡更点记录集合
     */
    public List<CheckPointRecord> selectCheckPointRecordList(CheckPointRecord checkPointRecord);

    /**
     * 新增巡更点记录
     * 
     * @param checkPointRecord 巡更点记录
     * @return 结果
     */
    public int insertCheckPointRecord(CheckPointRecord checkPointRecord);

    /**
     * 修改巡更点记录
     * 
     * @param checkPointRecord 巡更点记录
     * @return 结果
     */
    public int updateCheckPointRecord(CheckPointRecord checkPointRecord);

    /**
     * 批量删除巡更点记录
     * 
     * @param checkPointRecordIds 需要删除的巡更点记录主键集合
     * @return 结果
     */
    public int deleteCheckPointRecordByCheckPointRecordIds(Long[] checkPointRecordIds);

    /**
     * 删除巡更点记录信息
     * 
     * @param checkPointRecordId 巡更点记录主键
     * @return 结果
     */
    public int deleteCheckPointRecordByCheckPointRecordId(Long checkPointRecordId);

    /**
     * 巡更点记录首页统计
     * @param checkPointRecord
     * @return
     */
    public AjaxResult getCheckPointRecordCount(CheckPointRecord checkPointRecord);
}
