| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.user.HongBaoV2; |
| | | import com.yeshi.fanli.entity.order.CommonOrder; |
| | | import com.yeshi.fanli.entity.order.HongBaoOrder; |
| | | |
| | | public interface HongBaoOrderMapper extends BaseMapper<HongBaoOrder> { |
| | |
| | | */ |
| | | public int countWeiQuanOrderWithMinCommision(@Param("uid")Long uid,@Param("minMoney") BigDecimal minMoney,@Param("minTime") Date minTime); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 根据订单ID与来源类型查询 |
| | | * @param orderId |
| | | * @param sourceType |
| | | * @return |
| | | */ |
| | | public List<HongBaoOrder> listByOrderIdAndSourceType(@Param("orderId") String orderId, |
| | | @Param("sourceType") int sourceType); |
| | | |
| | | |
| | | /** |
| | | * 根据订单ID与来源类型查询详情 |
| | | * @param orderId |
| | | * @param sourceType |
| | | * @return |
| | | */ |
| | | public List<HongBaoOrder> listDetailByOrderIdAndSourceType(@Param("orderId") String orderId, |
| | | @Param("sourceType") int sourceType); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 根据订单ID与来源类型查询详情 |
| | | * @param orderId |
| | | * @param sourceType |
| | | * @return |
| | | */ |
| | | public List<HongBaoOrder> listDetailByOrderIdAndSourceTypeAndUid(@Param("orderId") String orderId, |
| | | @Param("sourceType") int sourceType, @Param("uid") long uid); |
| | | } |
| | | |
| | | |