文章下架再上架的bug

This commit is contained in:
zzp 2024-12-16 20:23:36 +08:00
parent fa33a5025b
commit 038f8d3214
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ public class NewsService {
// type = earlyKnow.getType();//时间紧暂时把早知道的type挪过来
// }
SaveDraftColumnItem everything = column.getEverything();
if (showEverything != null && showEverything) {
if (showEverything != null && showEverything && everything!=null) {
Integer type = everything.getType();
columnMapper.saveNewsColumnRel(newIdRl, 14L, type);
}