SubjectRuleService.java 806 Bytes
package com.meishu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.rule.GetAllRulesDTO;
import com.meishu.dto.rule.GetRuleReportDTO;
import com.meishu.model.SubjectRuleDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.meishu.vo.rule.GetAllRulesVO;
import com.meishu.vo.rule.GetRuleReportVO;

import java.util.List;

/**
 * <p>
 * 规则字典表 服务类
 * </p>
 *
 * @author Tuyp
 * @since 2021-05-08
 */
public interface SubjectRuleService extends IService<SubjectRuleDO> {

    IPage<GetAllRulesVO> getAllRules(GetAllRulesDTO getAllRulesDTO);

    List<GetAllRulesVO> getRules();

    String addRule(SubjectRuleDO subjectRuleDO);

    String updateRule(SubjectRuleDO subjectRuleDO);

    String deleteRule(SubjectRuleDO subjectRuleDO);

}