zhongzewei 7 years ago
parent
commit
1e420d9504

+ 1 - 0
modules/all_models/compleRation_section.js

@@ -4,6 +4,7 @@
 /*补充定额库-章节树*/
 const mongoose = require('mongoose');
 const Schema = mongoose.Schema;
+const deleteSchema = require('../all_schemas/delete_schema');
 //补充定额章节树
 const compleRationSectionTreeSchema = new Schema({
     //用户名

+ 1 - 1
modules/all_models/projects.js

@@ -32,4 +32,4 @@ const ProjectSchema = new Schema({
     "changeMark":String//更新标记  feeRate:费率文件发生了改变,unitFile 单件文件发生了改变
 });
 
-mongoose.model(collectionName, ProjectSchema, ccollectionName);
+mongoose.model(collectionName, ProjectSchema, collectionName);

+ 1 - 1
modules/all_models/ration.js

@@ -67,4 +67,4 @@ let rationSchema = new Schema({
 
 });
 
-let ration = db.model("ration", rationSchema, "ration");
+let ration = mongoose.model("ration", rationSchema, "ration");

+ 0 - 1
modules/users/models/user_message_model.js

@@ -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";