@@ -30,4 +30,4 @@ const comple_glj = new Schema({
component: [comple_gljComponent]
}, {versionKey: false});
-mongoose.model('complementary_glj_lib', comple_glj);
+mongoose.model('complementary_glj_lib', comple_glj, 'complementary_glj_lib');
@@ -58,4 +58,4 @@ const compleRationSchema = new Schema({
deleteInfo: deleteSchema
-mongoose.model('complementary_ration_items', compleRationSchema);
+mongoose.model('complementary_ration_items', compleRationSchema, 'complementary_ration_items');
@@ -22,4 +22,4 @@ const compleRationSectionTreeSchema = new Schema({
-mongoose.model('complementary_ration_section_tree', compleRationSectionTreeSchema);
+mongoose.model('complementary_ration_section_tree', compleRationSectionTreeSchema, 'complementary_ration_section_tree');
@@ -23,4 +23,4 @@ const stdBills_bills = new Schema({
{versionKey: false}
);
-mongoose.model('std_bills_lib_bills', stdBills_bills);
+mongoose.model('std_bills_lib_bills', stdBills_bills, 'std_bills_lib_bills');
@@ -14,4 +14,4 @@ const stdBills_itemCharacter = new Schema({
-mongoose.model('std_bills_lib_itemCharacter', stdBills_itemCharacter);
+mongoose.model('std_bills_lib_itemCharacter', stdBills_itemCharacter, 'std_bills_lib_itemCharacter');
@@ -14,4 +14,4 @@ const stdBills_jobContent = new Schema({
-mongoose.model('std_bills_lib_jobContent', stdBills_jobContent);
+mongoose.model('std_bills_lib_jobContent', stdBills_jobContent, 'std_bills_lib_jobContent');
@@ -19,4 +19,4 @@ const stdBills_lib = new Schema({
-mongoose.model('std_bills_lib_list', stdBills_lib);
+mongoose.model('std_bills_lib_list', stdBills_lib, 'std_bills_lib_list');
@@ -22,4 +22,4 @@ const coeListSchema = new Schema({
coes: [coeSchema]
-mongoose.model('std_ration_lib_coe_list', coeListSchema);
+mongoose.model('std_ration_lib_coe_list', coeListSchema, 'std_ration_lib_coe_list');
@@ -15,4 +15,4 @@ const installFeeItemSchema = new Schema({
deleted: false
-mongoose.model('std_ration_lib_installation', installFeeItemSchema);
+mongoose.model('std_ration_lib_installation', installFeeItemSchema, 'std_ration_lib_installation');
@@ -26,4 +26,4 @@ const installSectionSchema = new Schema({
-mongoose.model('std_ration_lib_installationSection', installSectionSchema);
+mongoose.model('std_ration_lib_installationSection', installSectionSchema, 'std_ration_lib_installationSection');
@@ -13,4 +13,4 @@ const RepositoryMapSchema = new Schema({
"deleted": Boolean
});
-mongoose.model('std_ration_lib_map', RepositoryMapSchema);
+mongoose.model('std_ration_lib_map', RepositoryMapSchema, 'std_ration_lib_map');
@@ -46,4 +46,4 @@ const rationItemSchema = new Schema({
rationInstList: [rationInstSchema]
-mongoose.model('std_ration_lib_ration_items', rationItemSchema);
+mongoose.model('std_ration_lib_ration_items', rationItemSchema, 'std_ration_lib_ration_items');
@@ -17,4 +17,4 @@ const rationChapterTreeSchema = new Schema({//章节树 //生成唯一id改为s
isDeleted: Boolean
-mongoose.model("std_ration_lib_ration_chapter_trees", rationChapterTreeSchema);
+mongoose.model("std_ration_lib_ration_chapter_trees", rationChapterTreeSchema, 'std_ration_lib_ration_chapter_trees');
@@ -30,4 +30,4 @@ const std_glj = new Schema({
component: [std_gljComponent]
},{versionKey: false});
-mongoose.model('std_glj_lib_gljList', std_glj);
+mongoose.model('std_glj_lib_gljList', std_glj, 'std_glj_lib_gljList');
@@ -13,4 +13,4 @@ const std_gljClass = new Schema({
deleted: Boolean
-mongoose.model('std_glj_lib_gljClass', std_gljClass);
+mongoose.model('std_glj_lib_gljClass', std_gljClass, 'std_glj_lib_gljClass');
@@ -33,4 +33,4 @@ const BillsTemplateSchema = {
calcBase: String
};
-mongoose.model('temp_bills', BillsTemplateSchema);
+mongoose.model('temp_bills', BillsTemplateSchema, 'temp_bills');