package com.yeshi.fanli.service.inter.goods;
|
|
import java.util.List;
|
|
import org.springframework.cache.annotation.Cacheable;
|
|
import com.yeshi.fanli.entity.bus.recommend.Honest;
|
|
public interface HonestService {
|
List<Honest> getHonestList();
|
|
|
List<Honest> getHonestListCache();
|
|
Honest getOne(long id);
|
|
/**
|
*
|
* 方法说明: 查询列表总数
|
* @author mawurui
|
* createTime 2018年5月18日 下午4:44:56
|
* @return
|
*/
|
Integer getCount();
|
|
/**
|
*
|
* 方法说明: 分页查询列表
|
* @author mawurui
|
* createTime 2018年5月18日 下午4:59:29
|
* @param i
|
* @param key
|
* @return
|
*/
|
List<Honest> getHonestList(int i, String key);
|
|
/**
|
*
|
* 方法说明: 删除
|
* @author mawurui
|
* createTime 2018年5月18日 下午5:20:08
|
* @param id
|
*/
|
void deleteHonest(long id);
|
|
/**
|
*
|
* 方法说明: 修改
|
* @author mawurui
|
* createTime 2018年5月18日 下午5:25:34
|
* @param honest
|
*/
|
void updateHonest(Honest honest);
|
|
/**
|
*
|
* 方法说明: 反显
|
* @author mawurui
|
* createTime 2018年5月18日 下午5:31:56
|
* @param id
|
* @return
|
*/
|
Honest getHonest(long id);
|
|
/**
|
*
|
* 方法说明: 添加
|
* @author mawurui
|
* createTime 2018年5月18日 下午5:33:40
|
* @param honest
|
*/
|
void addHonest(Honest honest);
|
}
|