| | |
| | | package com.yeshi.fanli.dao.mybatis.order; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | |
| | | |
| | | /** |
| | | * 查询用户补贴 |
| | | * |
| | | * @param uid |
| | | * @param orderNo |
| | | * @param Type |
| | | * @return |
| | | */ |
| | | InviteOrderSubsidy getByOrderNoAndType(@Param("uid")Long uid, @Param("orderNo")String orderNo,@Param("type") Integer type); |
| | | InviteOrderSubsidy getByOrderNoAndType(@Param("uid") Long uid, @Param("orderNo") String orderNo, |
| | | @Param("type") Integer type); |
| | | |
| | | /** |
| | | * 查询加锁 |
| | | * |
| | | * @param uid |
| | | * @param orderNo |
| | | * @param type |
| | | * @return |
| | | */ |
| | | InviteOrderSubsidy getByOrderNoAndTypeForUpdate(@Param("uid") Long uid, @Param("orderNo") String orderNo, |
| | | @Param("type") Integer type); |
| | | |
| | | /** |
| | | * 根据订单号与来源类型查询 |
| | | * |
| | | * @param orderNo |
| | | * @param type |
| | | * @return |
| | | */ |
| | | long countByOrderNoAndType(@Param("orderNo") String orderNo, @Param("type") Integer type); |
| | | |
| | | /** |
| | | * 根据订单号与来源类型查询 |
| | | * |
| | | * @param orderNo |
| | | * @param type |
| | | * @return |
| | | */ |
| | | List<InviteOrderSubsidy> listByOrderNoAndType(@Param("orderNo") String orderNo, @Param("type") Integer type); |
| | | } |