|
@@ -62,7 +62,6 @@ public class TreePosterContentServiceImpl extends ServiceImpl<ITreePosterContent
|
|
.eq(TreePosterContent::getPosterLibId, posterLib.getId())
|
|
.eq(TreePosterContent::getPosterLibId, posterLib.getId())
|
|
.eq(TreePosterContent::getAppUserId, addDTO.getAppUserId())
|
|
.eq(TreePosterContent::getAppUserId, addDTO.getAppUserId())
|
|
.eq(TreePosterContent::getTreeId, addDTO.getTreeId())
|
|
.eq(TreePosterContent::getTreeId, addDTO.getTreeId())
|
|
- .eq(TreePosterContent::getStatus, 1)
|
|
|
|
.one();
|
|
.one();
|
|
if (treePosterContent == null) {
|
|
if (treePosterContent == null) {
|
|
// 2.获取悄悄话,取最新一条记录
|
|
// 2.获取悄悄话,取最新一条记录
|
|
@@ -134,7 +133,6 @@ public class TreePosterContentServiceImpl extends ServiceImpl<ITreePosterContent
|
|
|
|
|
|
List<TreePosterContent> treePosterContentList = this.lambdaQuery()
|
|
List<TreePosterContent> treePosterContentList = this.lambdaQuery()
|
|
.eq(TreePosterContent::getTreeId, queryDTO.getTreeId())
|
|
.eq(TreePosterContent::getTreeId, queryDTO.getTreeId())
|
|
- .eq(TreePosterContent::getStatus, 1)
|
|
|
|
.between(TreePosterContent::getCreatedTime, min, max)
|
|
.between(TreePosterContent::getCreatedTime, min, max)
|
|
.orderByDesc(TreePosterContent::getCreatedTime)
|
|
.orderByDesc(TreePosterContent::getCreatedTime)
|
|
.list();
|
|
.list();
|