| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- package com.goafanti.order.service;
- import java.math.BigDecimal;
- import java.text.ParseException;
- import com.goafanti.core.mybatis.page.Pagination;
- import com.goafanti.order.bo.FundingListBo;
- import com.goafanti.order.bo.OrderDetailBo;
- public interface OrderService {
-
- /**
- * 查询商品详情
- * @param commodityId 商品id
- * @param orderType 订单类型
- * @return
- */
- OrderDetailBo selectCommodityDetail(String commodityId,Integer orderType);
- /**
- * 添加意向
- * @param orderNo 订单编号
- * @param commodityId 商品id
- * @param commodityMode 商品型号
- * @param commodityQuantity 商品数量
- * @param commodityType 商品类型
- * @param createTime 创建时间
- * @param remarks 备注
- * @return
- */
- int addIntention(Long orderNo, String commodityId, String commodityMode, Integer commodityQuantity,Integer commodityType,
- String createTime, String remarks) throws ParseException ;
- /**
- * 支付定金
- * @param orderNo 订单编号
- * @param fundAmount 金额
- * @return remarks 备注
- */
- int updatePayForFirst(Long orderNo, BigDecimal fundAmount,String remarks);
- /**
- * 支付尾款
- * @param orderNo 订单编号
- * @param fundAmount 金额
- * @param remarks 备注
- * @return
- */
- int updatePayForLast(Long orderNo, BigDecimal fundAmount, String remarks);
- /**
- *
- * @param confirm 是否
- * @return
- */
- Pagination<OrderDetailBo> selectOrderList(boolean confirm,Integer pageNo,Integer PageSize);
- /**
- * 查询订单详情
- * @param orderNo
- * @return
- */
- OrderDetailBo selectOrderDetail(Long orderNo);
- /**
- * 查询流水记录
- * @param orderNo
- * @return
- */
- Pagination<FundingListBo> selectFundingHistory(Long orderNo,Integer pageNo,Integer PageSize);
- /**
- * 提现
- * @param orderNo
- * @return
- */
- int updateApplyForWithdraw(Long orderNo,String remarks);
- /**
- * 取消订单
- * @param orderNo
- * @return
- */
- int updateApplyForCancel(Long orderNo);
- /**
- * 确认意向订单
- * @param orderNo 订单编号
- * @param confirm 是否确认
- * @return
- */
- int updateConfirmIntention(Long orderNo, boolean confirm);
- }
|