From b47f8a03db79bb1f6356479cd8a5cf190d7d9694 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 23 六月 2021 11:10:36 +0800 Subject: [PATCH] 礼金功能完善 --- service-vip/src/main/java/com/ks/vip/mapper/VipOrderMapper.java | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/service-vip/src/main/java/com/ks/vip/mapper/VipOrderMapper.java b/service-vip/src/main/java/com/ks/vip/mapper/VipOrderMapper.java index d154e38..35bf2d5 100644 --- a/service-vip/src/main/java/com/ks/vip/mapper/VipOrderMapper.java +++ b/service-vip/src/main/java/com/ks/vip/mapper/VipOrderMapper.java @@ -2,6 +2,7 @@ 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; @@ -11,13 +12,26 @@ 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 */ VipOrder getByThreeOrderId(@Param("threeOrderId") String threeOrderId); + /** + * 缁熻鏍规嵁绫诲瀷 uid + * + * @param uid + * @param type + * @return + */ + long countByTypeAndUid(@Param("uid") String uid, @Param("type") OrderTypeEnum type); + } \ No newline at end of file -- Gitblit v1.8.0