| | |
| | | package com.dg.core.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.dg.core.ResultData; |
| | | import com.dg.core.db.gen.entity.AutomessageCommonProblem; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @return |
| | | */ |
| | | List<AutomessageCommonProblem> selectList(); |
| | | |
| | | /** |
| | | * 获取常见问题列表(分页) |
| | | * @param page |
| | | * @param state |
| | | * @return |
| | | */ |
| | | List<AutomessageCommonProblem> selectConfigList(IPage<AutomessageCommonProblem> page, Integer state, String title, String content); |
| | | |
| | | /** |
| | | * 获取常见问题列表(不分页查找) |
| | | * @return |
| | | */ |
| | | List<AutomessageCommonProblem> selectConfigList(String title, String content); |
| | | |
| | | |
| | | /** |
| | | * 获取常见问题列表统计数量 |
| | | * @return |
| | | */ |
| | | Integer countAutomessageCommonProblem( String title, String content); |
| | | |
| | | |
| | | /** |
| | | * 添加常见问题数据 |
| | | * @return |
| | | */ |
| | | ResultData add(AutomessageCommonProblem automessageCommonProblem); |
| | | |
| | | /** |
| | | * 修改常见问题数据 |
| | | * @return |
| | | */ |
| | | ResultData update(AutomessageCommonProblem automessageCommonProblem); |
| | | |
| | | /** |
| | | * 删除常见问题数据 |
| | | * @return |
| | | */ |
| | | ResultData delete(Integer id); |
| | | |
| | | |
| | | } |