Browse Source

同步-同步隐藏信息调整

LHB 13 giờ trước cách đây
mục cha
commit
fe714343bf

+ 6 - 0
blade-service/blade-manager/src/main/java/org/springblade/manager/service/impl/WbsSynchronousServiceImpl.java

@@ -445,6 +445,8 @@ public class WbsSynchronousServiceImpl {
                                 //绑定隐藏信息
                                 editPrivateNode.setStatus(templateNode.getStatus());
                                 editPrivateNode.setDefaultConceal(templateNode.getDefaultConceal());
+                                //合同段是根据这个字段隐藏的
+                                editPrivateNode.setIsBussShow(templateNode.getDefaultConceal() + 1);
 
                                 if (StringUtil.isBlank(templateNode.getHtmlUrl())) {
                                     throw new ServiceException(templateNode.getNodeName() + "( " + templateNode.getPKeyId() + ")HTML文件不存在");
@@ -792,6 +794,10 @@ public class WbsSynchronousServiceImpl {
                                     if (collect.contains(2) && (templateNode.getHtmlUrl() == null || templateNode.getInitTableName() == null || templateNode.getExcelId() == null)) {
                                         errorMsg.append(editContractNode.getNodeName() + "(" + editContractNode.getPKeyId() + ")").append("未配置清表;");
                                     } else {
+                                        //隐藏状态
+                                        editContractNode.setStatus(templateNode.getStatus());
+                                        editContractNode.setIsBussShow(templateNode.getIsBussShow());
+                                        //四要素
                                         editContractNode.setExcelId(templateNode.getExcelId());
                                         editContractNode.setInitTableName(templateNode.getInitTableName());
                                         editContractNode.setHtmlUrl(templateNode.getHtmlUrl());