|
@@ -35,7 +35,8 @@ public class PublicContentServiceImpl {
|
|
|
return null;
|
|
|
}
|
|
|
PublishContentExample example = new PublishContentExample();
|
|
|
- example.createCriteria().andPublishContentIdEqualTo(publishContentId);
|
|
|
+ example.createCriteria().andPublishContentIdEqualTo(publishContentId)
|
|
|
+ .andCreateTimeGreaterThan(DateUtil.getThatDayDate());
|
|
|
List<PublishContent> publishContents = publishContentMapper.selectByExample(example);
|
|
|
if (!CollectionUtils.isEmpty(publishContents)) {
|
|
|
PublishContent publishContent = publishContents.get(0);
|