/*
 * Copyright (c) 2024 codvision.com All Rights Reserved.
 */

package com.codvision.basic.service.patrol;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.codvision.basic.entity.patrol.PatrolClock;
import com.codvision.basic.entity.vo.patrol.PatrolClockVO;
import com.codvision.webcore.bean.QueryPage;

import java.util.Map;

/**
 * @author codvision
 */
public interface PatrolClockService extends IService<PatrolClock> {

    /**
     * 分页列表
     * @param queryPage 查询条件
     * @return 列表
     */
    IPage<PatrolClockVO> getPageResult(QueryPage<Map<String, Object>> queryPage);

    /**
     * 添加
     * @param patrolclock 对象
     */
    void add(PatrolClock patrolclock);
}
