明树Git Lab

Commit 3067f836 authored by zfp1's avatar zfp1

update

parent ef28bd7e
......@@ -9,7 +9,8 @@ const moment = require('moment');
const letianProductDeepSchema = new Schema({
sourcePlantProduct: {
type: String,
type: mongoose.Types.ObjectId,
ref: 'ProductPre',
comment: "来源初加工产品 靠产品名称关联"
},
preProductName: {
......@@ -29,7 +30,8 @@ const letianProductDeepSchema = new Schema({
comment: "库存量"
},
productPhotos: {
type: String,
type: mongoose.Types.ObjectId,
ref: 'File',
comment: "产品照片"
},
introduction: {
......
......@@ -34,7 +34,7 @@ const letianProductPlantSchema = new Schema({
comment: "种植规划 关联信息 按照农作物的名称关联"
},
productNumber: {
type: String,
type: Number,
comment: "产品编号"
},
......
......@@ -8,7 +8,8 @@ const moment = require('moment');
const letianProductPreSchema = new Schema({
sourcePlantProduct: {
type: String,
type: mongoose.Types.ObjectId,
ref: 'ProductPlant',
comment: "来源种植产品"
},
preProductName: {
......
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