| | |
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.shop.BanLiShopGoodsSetsPay;
|
| | | import com.yeshi.fanli.entity.shop.BanLiShopOrder;
|
| | | import com.yeshi.fanli.exception.redpack.RedPackBalanceException;
|
| | | import com.yeshi.fanli.exception.shop.BanLiShopOrderException;
|
| | |
| | | * @throws BanLiShopOrderException
|
| | | */
|
| | | public void addOrder(BanLiShopOrder order) throws BanLiShopOrderException;
|
| | | |
| | | |
| | | /**
|
| | | * 构造订单
|
| | | * @param pay
|
| | | * @param uid
|
| | | * @return
|
| | | * @throws BanLiShopOrderException
|
| | | */
|
| | | public BanLiShopOrder createOrder(Long goodsSetPayId,String chargeAccount,Long uid) throws BanLiShopOrderException;;
|
| | |
|
| | | /**
|
| | | * 使订单失效
|
| | | * |
| | | * @param id
|
| | | */
|
| | | public void invalidOrderByOrderId(Long id,String desc);
|
| | |
|
| | | /**
|
| | | * 拒绝订单
|
| | | * |
| | | * @param id
|
| | | * @param msg
|
| | | * @throws BanLiShopOrderException
|
| | | */
|
| | | public void rejectOrder(Long id, String msg) throws BanLiShopOrderException;
|
| | |
|
| | | /**
|
| | | * 订单支付(用红包)
|
| | |
| | | * @param orderId
|
| | | * @throws BanLiShopOrderException
|
| | | */
|
| | | public void payOrderByMoney(Long orderId,BigDecimal money) throws BanLiShopOrderException;
|
| | | |
| | | |
| | | public void payOrderByMoney(Long orderId, BigDecimal money) throws BanLiShopOrderException;
|
| | |
|
| | | public BanLiShopOrder selectByPrimaryKeyForUpdate(Long id);
|
| | |
|
| | | /**
|