From b1158d0bb5b453f0b8e5df143de92ee08d1e9048 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Wed, 27 Oct 2021 16:12:23 +0800 Subject: [PATCH] 修改赠送金额购买项目没打折的情况 --- 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 1f0ed56..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("openId")Long vipId); + int selectUserTotalScore(@Param("vipId")Long vipId); /** * 查询用户有效的积分,按时间顺序排 * @param * @return */ - List<ScoreVipDetail> selectEffectiveScore(@Param("openId") String openId, @Param("openId")Long vipId); + List<ScoreVipDetail> selectEffectiveScore(@Param("vipId")Long vipId); + + List<ScoreVipDetail> selectInvalidaVipScore(); + + int invalidVipScore(); } \ No newline at end of file -- Gitblit v1.9.1