|
@@ -1,7 +1,8 @@
|
|
|
/**
|
|
|
* Created by Tony on 2016/12/28.
|
|
|
*/
|
|
|
-import mongoose from "mongoose";
|
|
|
+// import mongoose from 'mongoose';
|
|
|
+let mongoose = require("mongoose");
|
|
|
// let dbm = require("../../../config/db/db_manager");
|
|
|
// let smartcostdb = dbm.getCfgConnection("scConstruct");
|
|
|
let Schema = mongoose.Schema;
|