| | |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int deleteBatchByPrimaryKey(List<Long> list); |
| | | |
| | | int insert(CustomerServiceCommonQuestion record); |
| | | |
| | | int insertSelective(CustomerServiceCommonQuestion record); |
| | |
| | | int updateByPrimaryKey(CustomerServiceCommonQuestion record); |
| | | |
| | | List<String> selectKeys(); |
| | | |
| | | /** |
| | | * 后端查询列表 |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @param type |
| | | * @param state |
| | | * @return |
| | | */ |
| | | List<CustomerServiceCommonQuestion> listQuery(@Param("start") long start, @Param("count") int count, |
| | | @Param("key")String key, @Param("type")String type, |
| | | @Param("state") Integer state, @Param("sort") Integer sort); |
| | | /** |
| | | * 统计 |
| | | * @param key |
| | | * @param type |
| | | * @param state |
| | | * @return |
| | | */ |
| | | long countQuery(@Param("key")String key, @Param("type")String type, @Param("state") Integer state); |
| | | } |