| | |
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.customerservice.CustomerServiceCommonQuestion;
|
| | | import com.yeshi.fanli.exception.CustomerServiceCommonQuestionException;
|
| | | import com.yeshi.fanli.exception.user.CustomerServiceCommonQuestionException;
|
| | |
|
| | | public interface CustomerServiceCommonQuestionService {
|
| | | /**
|
| | |
| | | */
|
| | | public Long countCustomerServiceCommonQuestion();
|
| | |
|
| | | CustomerServiceCommonQuestion selectByPrimaryKey(Long id);
|
| | | |
| | | int deleteBatchByPrimaryKey(List<Long> list);
|
| | | |
| | | int insert(CustomerServiceCommonQuestion record);
|
| | |
|
| | | int insertSelective(CustomerServiceCommonQuestion record);
|
| | |
|
| | | int updateByPrimaryKeySelective(CustomerServiceCommonQuestion record);
|
| | |
|
| | | int updateByPrimaryKey(CustomerServiceCommonQuestion record);
|
| | | |
| | | /**
|
| | | * 后台查询列表
|
| | | * @param start
|
| | | * @param count
|
| | | * @param key 关键词 、内容搜索
|
| | | * @param type 类型
|
| | | * @param state 状态
|
| | | * @param sort 排序: 1权重低到高 2权重高到低
|
| | | * @return
|
| | | */
|
| | | public List<CustomerServiceCommonQuestion> listQuery(long start, int count, String key, String type,
|
| | | Integer state, Integer sort);
|
| | |
|
| | | public long countQuery(String key, String type, Integer state);
|
| | | |
| | | /**
|
| | | * 保存
|
| | | * @param record
|
| | | * @throws CustomerServiceCommonQuestionException
|
| | | */
|
| | | public void save(CustomerServiceCommonQuestion record) throws Exception, CustomerServiceCommonQuestionException;
|
| | |
|
| | | }
|