package com.yeshi.fanli.service.inter.elme;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.elme.ElmeOrder;
|
import com.yeshi.fanli.exception.elme.ElmeOrderException;
|
|
/**
|
* 饿了么订单服务
|
*
|
* @author Administrator
|
*
|
*/
|
public interface ElmeOrderService {
|
/**
|
* 添加订单
|
*
|
* @param order
|
*/
|
public void addOrder(ElmeOrder order) throws ElmeOrderException;
|
|
public ElmeOrder selectByPrimaryKey(Long id);
|
|
/**
|
* 订单列表查询
|
* @param start
|
* @param count
|
* @param key
|
* @return
|
*/
|
public List<ElmeOrder> query(long start, int count, String key);
|
|
public long count(String key);
|
|
}
|