| | |
| | | package com.yeshi.fanli.service.inter.order.suning;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.suning.SuningOrderInfo;
|
| | | import com.yeshi.fanli.exception.suning.SuningOrderException;
|
| | |
|
| | | public interface SuningOrderService {
|
| | |
|
| | | /**
|
| | | * 添加订单
|
| | | * |
| | | * @param order
|
| | | * @throws SuningOrderInfoException
|
| | | */
|
| | | public void addOrder(SuningOrderInfo order) throws SuningOrderException;
|
| | |
|
| | | /**
|
| | | * 根据主键ID查询
|
| | | * |
| | | * @param orderId
|
| | | * @return
|
| | | */
|
| | | public SuningOrderInfo selectByPrimaryKey(Long orderId);
|
| | |
|
| | | /**
|
| | | * 根据订单号查询
|
| | | * |
| | | * @param orderId
|
| | | * @return
|
| | | */
|
| | | public List<SuningOrderInfo> listByOrderCode(String orderCode);
|
| | |
|
| | | /**
|
| | | * 根据订单行号查询
|
| | | * @Title: selectByOrderLineNumber
|
| | | * @Description: |
| | | * @param orderLineNo
|
| | | * @return |
| | | * SuningOrderInfo 返回类型
|
| | | * @throws
|
| | | */
|
| | | public SuningOrderInfo selectByOrderLineNumber(String orderLineNo);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.order.suning; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.suning.SuningOrderInfo; |
| | | import com.yeshi.fanli.exception.suning.SuningOrderException; |
| | | |
| | | public interface SuningOrderService { |
| | | |
| | | /** |
| | | * 添加订单 |
| | | * |
| | | * @param order |
| | | * @throws SuningOrderInfoException |
| | | */ |
| | | public void addOrder(SuningOrderInfo order) throws SuningOrderException; |
| | | |
| | | /** |
| | | * 根据主键ID查询 |
| | | * |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | public SuningOrderInfo selectByPrimaryKey(Long orderId); |
| | | |
| | | /** |
| | | * 根据订单号查询 |
| | | * |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | public List<SuningOrderInfo> listByOrderCode(String orderCode); |
| | | |
| | | /** |
| | | * 根据订单行号查询 |
| | | * @Title: selectByOrderLineNumber |
| | | * @Description: |
| | | * @param orderLineNo |
| | | * @return |
| | | * SuningOrderInfo 返回类型 |
| | | * @throws |
| | | */ |
| | | public SuningOrderInfo selectByOrderLineNumber(String orderLineNo); |
| | | |
| | | } |