From 7b289f3a33e81dcb72ff03f06602fd381c8ce33a Mon Sep 17 00:00:00 2001 From: wuchunlei Date: Wed, 8 Jan 2025 10:12:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=8D=E8=B4=B9=E9=A2=86?= =?UTF-8?q?=E5=8F=96=E8=AF=BE=E7=A8=8B=E6=97=B6=E9=87=8D=E5=A4=8D=E9=A2=86?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../peanut/modules/sociology/service/impl/CourseServiceImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/peanut/modules/sociology/service/impl/CourseServiceImpl.java b/src/main/java/com/peanut/modules/sociology/service/impl/CourseServiceImpl.java index 6db3756e..41d039cf 100644 --- a/src/main/java/com/peanut/modules/sociology/service/impl/CourseServiceImpl.java +++ b/src/main/java/com/peanut/modules/sociology/service/impl/CourseServiceImpl.java @@ -211,7 +211,6 @@ public class CourseServiceImpl extends ServiceImpl impl LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>(); wrapper.eq(UserCourseBuyEntity::getUserId,uId); wrapper.eq(UserCourseBuyEntity::getCatalogueId,catalogueId); - wrapper.lt(UserCourseBuyEntity::getEndTime,new Date()); Integer integer = userCourseBuyDao.selectCount(wrapper); if(integer>0){ return R.error("您已拥有本门课程,无需领取");