浏览代码

会员转换修改

yuanliang 1 年之前
父节点
当前提交
57f54c1c19

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/VipCardRecordServiceImpl.java

@@ -604,7 +604,7 @@ public class VipCardRecordServiceImpl extends ServiceImpl<VipCardRecordDao, VipC
         for (VipCardRecord vipCardRecord : vipCardRecordList) {
             Date startTime = vipCardRecord.getStartTime();
             Date endTime = vipCardRecord.getEndTime();
-            if (endTime.before(deductedStartDate)) {
+            if (endTime.before(deductedStartDate) || endTime.equals(deductedStartDate)) {
                 continue;
             }