From b30fb8afd3cd6228bda9b182dc412bb3c8daf69c Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 17 十月 2024 16:28:48 +0800 Subject: [PATCH] CMQ转为Rabbitmq --- src/main/java/com/yeshi/buwan/dao/video/VideoResourceVersionMapDao.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/dao/video/VideoResourceVersionMapDao.java b/src/main/java/com/yeshi/buwan/dao/video/VideoResourceVersionMapDao.java index 5b14916..ac6c930 100644 --- a/src/main/java/com/yeshi/buwan/dao/video/VideoResourceVersionMapDao.java +++ b/src/main/java/com/yeshi/buwan/dao/video/VideoResourceVersionMapDao.java @@ -53,7 +53,7 @@ andList.add(Criteria.where("version").lte(version)); if (channel != null) { Query childQuery = new Query(); - childQuery.addCriteria(new Criteria().andOperator(Criteria.where("detailSystemId").is(detailSystemId), Criteria.where("channel").is(channel.toLowerCase()))); + childQuery.addCriteria(new Criteria().andOperator(Criteria.where("detailSystemId").is(detailSystemId),Criteria.where("version").lte(version), Criteria.where("channel").is(channel.toLowerCase()))); if (count(childQuery) > 0) { andList.add(Criteria.where("channel").is(channel)); } else { -- Gitblit v1.8.0