| | |
| | | |
| | | import com.ks.lib.common.dao.BaseMapper; |
| | | import com.ks.vip.pojo.DO.VipOrder; |
| | | import com.ks.vip.pojo.Enums.OrderTypeEnum; |
| | | import com.ks.vip.query.VipOrderQuery; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | |
| | | |
| | | List<VipOrder> listByPage(@Param("query") VipOrderQuery query); |
| | | |
| | | long count(@Param("query")VipOrderQuery query); |
| | | long count(@Param("query") VipOrderQuery query); |
| | | |
| | | |
| | | List<VipOrder> listByPrimaryKeys(@Param("ids") List<Long> ids); |
| | | |
| | | /** |
| | | * 根据三方订单号查询 |
| | | * |
| | | * @param threeOrderId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 统计根据类型 uid |
| | | * |
| | | * @param uid |
| | | * @param type |
| | | * @return |
| | | */ |
| | | long countByTypeAndUid(@Param("uid") String uid, @Param("type") String type); |
| | | long countByTypeAndUid(@Param("uid") String uid, @Param("type") OrderTypeEnum type); |
| | | |
| | | } |