瀏覽代碼

作者:张哲
时间:2023/08/30
类型:优化
描述:正式环境修改bug1.1

zizg 1 年之前
父節點
當前提交
441fe83449
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/redxun/knowledge/service/KnowledgeServiceImpl.java

+ 1 - 0
src/main/java/com/redxun/knowledge/service/KnowledgeServiceImpl.java

@@ -478,6 +478,7 @@ public class KnowledgeServiceImpl extends SuperServiceImpl<KnowledgeMapper, Know
             entity.setViews(0);
             entity.setApprovalBatch(knowledge.getApprovalBatch() + 1);
             entity.setCreateBy(knowledge.getCreateBy());
+            entity.setAuthor(knowledge.getAuthor());
             //删除原有的审批节点
             knowledgeApproveMapper.deleteByKnowledgeId(entity.getPkId());
             //重新拉取审核节点