@@ -4,6 +4,7 @@
/*补充定额库-章节树*/
const mongoose = require('mongoose');
const Schema = mongoose.Schema;
+const deleteSchema = require('../all_schemas/delete_schema');
//补充定额章节树
const compleRationSectionTreeSchema = new Schema({
//用户名
@@ -32,4 +32,4 @@ const ProjectSchema = new Schema({
"changeMark":String//更新标记 feeRate:费率文件发生了改变,unitFile 单件文件发生了改变
});
-mongoose.model(collectionName, ProjectSchema, ccollectionName);
+mongoose.model(collectionName, ProjectSchema, collectionName);
@@ -67,4 +67,4 @@ let rationSchema = new Schema({
-let ration = db.model("ration", rationSchema, "ration");
+let ration = mongoose.model("ration", rationSchema, "ration");
@@ -6,7 +6,6 @@
* @version
*/
import BaseModel from "../../common/base/base_model";
-import UserMessageSchema from "./schema/user_message";
import MessageModel from "./message_model";
import mongoose from "mongoose";