| | |
| | | import com.yeshi.fanli.exception.order.CommonOrderException;
|
| | | import com.yeshi.fanli.vo.order.CommonOrderVO;
|
| | |
|
| | | import net.sf.json.JSONObject;
|
| | |
|
| | | public interface CommonOrderService {
|
| | |
|
| | | public int insert(CommonOrder record);
|
| | |
| | | public long countQuery(Integer keyType, String key, Integer state, Integer type, Integer orderState, String startTime,
|
| | | String endTime) throws CommonOrderException;
|
| | |
|
| | | /**
|
| | | * 根据订单号获取信息
|
| | | * @param orderNo
|
| | | * @return
|
| | | * @throws CommonOrderException
|
| | | */
|
| | | public CommonOrderVO getInfoByOrderNo(Long uid, String orderNo) throws CommonOrderException;
|
| | |
|
| | | /**
|
| | | * 查询券奖励金额以及订单信息
|
| | | * @param uid
|
| | | * @param state
|
| | | * @param orderNo
|
| | | * @return
|
| | | * @throws CommonOrderException
|
| | | */
|
| | | public List<CommonOrderVO> getCouponHongbaoByOrderNo(Long uid, Integer state, String orderNo) throws CommonOrderException;
|
| | |
|
| | | /**
|
| | | * 查询订单
|
| | | * @param uid
|
| | | * @param orderNo
|
| | | * @return
|
| | | * @throws CommonOrderException
|
| | | */
|
| | | public CommonOrderVO getCommonOrderByOrderNo(Long uid, String orderNo, Integer orderState) throws CommonOrderException;
|
| | |
|
| | | /**
|
| | | * 使用奖励券成功后跳转 修改
|
| | | * @param orderNo
|
| | | * @return
|
| | | */
|
| | | public JSONObject getRewardJumpInfo(String orderNo);
|
| | |
|
| | | }
|