提交 bc48bab9 authored 作者: kxjia's avatar kxjia

下载xml

上级 12b89e58
......@@ -220,7 +220,7 @@ public class BaosongTaskController extends JeecgController<BaosongTask, IBaosong
saveList.add(view);
}
baosongTaskReviewService.saveBatch(saveList);
baosongTaskService.updateTaskSta(3,task.getId());
baosongTaskService.updateTaskSta(3,task.getId());
return Result.OK("保存成功!");
}
......
......@@ -87,8 +87,8 @@ public class CreateXmlFile {
}
}
// 找出根节点的直接子节点
List<TaskRecordVo> rootChildren = childrenByParent.getOrDefault("T_B_1", new ArrayList<>());
List<TaskRecordVo> rootChildren = childrenByParent.getOrDefault(rootElementName, new ArrayList<>());
// 按itemid排序
rootChildren.sort(Comparator.comparingInt(TaskRecordVo::getItemid));
......@@ -366,7 +366,7 @@ public class CreateXmlFile {
addFixedNodeNoComment(doc, parentElement, "jiaoyanwei", "1");
addFixedNodeNoComment(doc, parentElement, "isempty", "0");
String title = "T-B-1 信息科技治理情况表";
String title = baosongTpl.getCode() + " " + baosongTpl.getNm();
addFixedNodeNoComment(doc, parentElement, "itTitle", title);
addFixedNodeNoComment(doc, parentElement, "itVersion", version);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论