From f7d7da8cf5c3f310d2aac143523dae3000d2b395 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Tue, 08 Mar 2022 00:27:56 +0800 Subject: [PATCH] refactor:重构商品限制销售检测 --- zq-erp/src/main/java/com/matrix/system/score/dao/ScoreVipDetailDao.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/score/dao/ScoreVipDetailDao.java b/zq-erp/src/main/java/com/matrix/system/score/dao/ScoreVipDetailDao.java index de52cc4..26be27d 100644 --- a/zq-erp/src/main/java/com/matrix/system/score/dao/ScoreVipDetailDao.java +++ b/zq-erp/src/main/java/com/matrix/system/score/dao/ScoreVipDetailDao.java @@ -19,12 +19,16 @@ * @param vipId * @return */ - int selectUserTotalScore(@Param("openId") String openId, @Param("vipId")Long vipId); + int selectUserTotalScore(@Param("vipId")Long vipId); /** * 查询用户有效的积分,按时间顺序排 * @param * @return */ - List<ScoreVipDetail> selectEffectiveScore(@Param("openId") String openId, @Param("vipId")Long vipId); + List<ScoreVipDetail> selectEffectiveScore(@Param("vipId")Long vipId); + + List<ScoreVipDetail> selectInvalidaVipScore(); + + int invalidVipScore(); } \ No newline at end of file -- Gitblit v1.9.1