zx 5 天之前
父节点
当前提交
5db163aef3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs-service/src/main/java/com/fs/sop/service/impl/QwSopTempServiceImpl.java

+ 1 - 1
fs-service/src/main/java/com/fs/sop/service/impl/QwSopTempServiceImpl.java

@@ -412,7 +412,7 @@ public class QwSopTempServiceImpl implements IQwSopTempService
                 content.setIsBindUrl(1);
                 List<QwSopTempContent> qwSopTempContents = new ArrayList<>() ;
                 qwSopTempContents.add(content);
-                if (sorts.get() == 0 && !temp.getModeContent().isEmpty()) {
+                if (sorts.get() == 0 && temp.getModeContent()!=null&&!temp.getModeContent().isEmpty()) {
                     QwSopTempContent content2 = new QwSopTempContent();
                     content2.setTempId(temp.getId());
                     content2.setContentType(3);