package com.dg.core.db.gen.mapper;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.dg.core.db.gen.entity.AutomessageCommonProblem;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.springframework.data.repository.query.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 常见问题表 Mapper 接口
|
* </p>
|
*
|
* @author fengjin
|
* @since 2022-09-23
|
*/
|
public interface AutomessageCommonProblemMapper extends BaseMapper<AutomessageCommonProblem> {
|
|
/**
|
* 获取常见问题列表(分页)
|
* @param page
|
* @param state
|
* @return
|
*/
|
List<AutomessageCommonProblem> selectConfigList(IPage<AutomessageCommonProblem> page, Integer state, @Param("title") String title, @Param("content") String content);
|
|
/**
|
* 获取常见问题列表(不分页查找)
|
* @return
|
*/
|
List<AutomessageCommonProblem> selectConfigList(@Param("title") String title, @Param("content") String content);
|
|
/**
|
* 获取常见问题列表统计数量
|
* @return
|
*/
|
Integer countConfigList(@Param("title") String title, @Param("content") String content);
|
|
}
|