@@ -23,6 +23,7 @@ rationChapterTreeDAO.prototype.initSectionTemplate = async function (rationLibId
let bulks = [];
let stdRationSection = await rationChapterTreeModel.find({rationRepId: rationLibId});
for (let data of stdRationSection) {
+ delete data._doc._id;
data._doc.compilationId = compilationId;
bulks.push({insertOne: {document: data}});
}
@@ -230,6 +230,7 @@ class GljMapDao extends OprDao{
let stdGljClass = await gljClassModel.find({repositoryId: gljLibId});
for (let data of stdGljClass) {