Przeglądaj źródła

排除未过期的权益

lyhzzz 2 lat temu
rodzic
commit
f88037cbdc

+ 1 - 0
src/main/java/com/fdkankan/ucenter/service/impl/UserIncrementServiceImpl.java

@@ -78,6 +78,7 @@ public class UserIncrementServiceImpl extends ServiceImpl<IUserIncrementMapper,
         }
         Page<UserIncrement> page = new Page<>(param.getPageNum(), param.getPageSize());
         LambdaQueryWrapper<UserIncrement> queryWrapper = new LambdaQueryWrapper<>();
+        queryWrapper.eq(UserIncrement::getIsExpired,0);
         queryWrapper.eq(UserIncrement::getUserId,user.getId());
         if(cameraIdList!=null ){
             queryWrapper.in(UserIncrement::getCameraId,cameraIdList);