| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.entity.order.HongBaoOrder;
|
| | |
|
| | | public interface HongBaoOrderService {
|
| | |
| | | * @return
|
| | | */
|
| | | public long countFanLiOrder(Long uid);
|
| | |
|
| | | /**
|
| | | * 根据订单号和订单来源获取数量
|
| | | * |
| | | * @param orderNo
|
| | | * @param hongBaotype
|
| | | * @param sourceType
|
| | | * @return
|
| | | */
|
| | | public long countByOrderNoAndHongBaoType(String orderNo, int hongBaotype, int sourceType);
|
| | |
|
| | | /**
|
| | | * 获取详情
|
| | | * |
| | | * @param commonOrderId
|
| | | * @return
|
| | | */
|
| | | public HongBaoOrder selectDetailByCommonOrderId(Long commonOrderId);
|
| | |
|
| | | /**
|
| | | * 获取详情
|
| | | * |
| | | * @param hongBaoId
|
| | | * @return
|
| | | */
|
| | | public HongBaoOrder selectDetailByHongBaoId(Long hongBaoId);
|
| | |
|
| | | /**
|
| | | * 根据订单号和来源类型查询
|
| | | * |
| | | * @param orderId
|
| | | * @param sourceType
|
| | | * @return
|
| | | */
|
| | | public List<HongBaoOrder> listByOrderIdAndSourceType(@Param("orderId") String orderId,
|
| | | @Param("sourceType") int sourceType);
|
| | |
|
| | | }
|