明树Git Lab

Commit f7dfba73 authored by zengfanpei's avatar zengfanpei

update

parent d8eebba4
...@@ -46,7 +46,7 @@ const AgrMatType = require('./models/letianAgrMatType'); ...@@ -46,7 +46,7 @@ const AgrMatType = require('./models/letianAgrMatType');
const AgrMatApproval = require('./models/letianAgrMatApproval'); const AgrMatApproval = require('./models/letianAgrMatApproval');
const AgrMatInOut = require('./models/letianAgrMatInOut'); const AgrMatInOut = require('./models/letianAgrMatInOut');
const FileTemplate = require('./models/letianFIleTemplate'); const FileTemplate = require('./models/letianFileTemplate');
const ExcelRecord = require('./models/letianExcelRecord'); const ExcelRecord = require('./models/letianExcelRecord');
......
...@@ -5,7 +5,7 @@ const moment = require('moment'); ...@@ -5,7 +5,7 @@ const moment = require('moment');
/** /**
* 文件模板---首页文件、excel模板等 * 文件模板---首页文件、excel模板等
*/ */
const letianFIleTemplateSchema = new Schema({ const letianFileTemplateSchema = new Schema({
url: { url: {
type: mongoose.Types.ObjectId, type: mongoose.Types.ObjectId,
ref: 'File', ref: 'File',
...@@ -51,5 +51,5 @@ const letianFIleTemplateSchema = new Schema({ ...@@ -51,5 +51,5 @@ const letianFIleTemplateSchema = new Schema({
}); });
const letianFIleTemplate = mongoose.model('letianFIleTemplate', letianFIleTemplateSchema, 'letianFIleTemplate'); const letianFileTemplate = mongoose.model('letianFileTemplate', letianFileTemplateSchema, 'letianFileTemplate');
module.exports = letianFIleTemplate; module.exports = letianFileTemplate;
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment