|
@@ -442,7 +442,10 @@ public class WbsSynchronousServiceImpl {
|
|
|
if (collect.contains(3)) {
|
|
|
editPrivateNode.setInitTableName(templateNode.getInitTableName());
|
|
|
}
|
|
|
-
|
|
|
+ //公式 根据init_table_id去查询的
|
|
|
+ if (collect.contains(5)) {
|
|
|
+ editPrivateNode.setInitTableId(templateNode.getInitTableId());
|
|
|
+ }
|
|
|
|
|
|
//排序
|
|
|
if (collect.contains(7)) {
|
|
@@ -490,7 +493,7 @@ public class WbsSynchronousServiceImpl {
|
|
|
//默认值 如果有数据 与节点绑定
|
|
|
case 6:
|
|
|
//现在电签使用的是模糊匹配 如果电签匹配方式改为精确匹配 则需要使用该功能
|
|
|
-// updateEViSa(collect, wbsTreeSynchronousRecord.getTemplateId(), projectInfo.getId(), templateNodes, editPrivateNodes);
|
|
|
+ updateEViSa(collect, wbsTreeSynchronousRecord.getTemplateId(), projectInfo.getId(), templateNodes, editPrivateNodes);
|
|
|
break;
|
|
|
default:
|
|
|
break;
|
|
@@ -1050,7 +1053,9 @@ public class WbsSynchronousServiceImpl {
|
|
|
.eq(TextdictInfo::getProjectId, templateId)
|
|
|
.eq(TextdictInfo::getIsDeleted, 0)
|
|
|
.in(TextdictInfo::getTabId, tempPKeyIds)
|
|
|
- .in(TextdictInfo::getType, 2, 4, 6));
|
|
|
+ .in(TextdictInfo::getType, 4));
|
|
|
+ //当前值同步默认值
|
|
|
+// .in(TextdictInfo::getType, 2, 4, 6));
|
|
|
if (CollectionUtil.isEmpty(tempTextDictInfo)) {
|
|
|
throw new ServiceException("源数据无电签及默认值配置");
|
|
|
}
|