package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.TRegexRule;
import com.jwipc.sys.model.po.TRegexRulePO;
import com.jwipc.sys.model.query.TRegexRuleQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Chen Tianshi
 * @since 2025/8/27 16:47
 */
public interface TRegexRuleMapper extends BaseMapper<TRegexRule> {
    List<TRegexRulePO> findPageByQuery(@Param("query") TRegexRuleQuery query);

    List<TRegexRulePO> findPageByQuery(Page<TRegexRule> dbPage, @Param("query") TRegexRuleQuery query);
}
