shuhao 5 月之前
父節點
當前提交
d03da36ba5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      admin/src/main/java/com/flyer/foster/service/impl/TreePosterContentServiceImpl.java

+ 1 - 0
admin/src/main/java/com/flyer/foster/service/impl/TreePosterContentServiceImpl.java

@@ -62,6 +62,7 @@ public class TreePosterContentServiceImpl extends ServiceImpl<ITreePosterContent
                     .eq(TreePosterContent::getPosterLibId, posterLib.getId())
                     .eq(TreePosterContent::getAppUserId, addDTO.getAppUserId())
                     .eq(TreePosterContent::getTreeId, addDTO.getTreeId())
+                    .ge(TreePosterContent::getCreatedTime, posterLib.getStartTime())
                     .one();
             if (treePosterContent == null) {
                 // 2.获取悄悄话,取最新一条记录