package com.zksy.dispatch.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zksy.dispatch.domain.DisEventGrade;
import com.zksy.dispatch.dto.DisEventGradePageDTO;

import java.util.List;

public interface DisEventGradeService extends IService<DisEventGrade> {

    Page<DisEventGrade> findByPage(DisEventGradePageDTO dto);

    /**
     * 根据分类查询分级标准
     */
    List<DisEventGrade> listByCategory(String category);
}
