明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
letian_backend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zengfanpei
letian_backend
Commits
3067f836
Commit
3067f836
authored
Dec 09, 2024
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ef28bd7e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
letianProductDeep.js
db/models/letianProductDeep.js
+4
-2
letianProductPlant.js
db/models/letianProductPlant.js
+1
-1
letianProductPre.js
db/models/letianProductPre.js
+2
-1
No files found.
db/models/letianProductDeep.js
View file @
3067f836
...
@@ -9,7 +9,8 @@ const moment = require('moment');
...
@@ -9,7 +9,8 @@ const moment = require('moment');
const
letianProductDeepSchema
=
new
Schema
({
const
letianProductDeepSchema
=
new
Schema
({
sourcePlantProduct
:
{
sourcePlantProduct
:
{
type
:
String
,
type
:
mongoose
.
Types
.
ObjectId
,
ref
:
'ProductPre'
,
comment
:
"来源初加工产品 靠产品名称关联"
comment
:
"来源初加工产品 靠产品名称关联"
},
},
preProductName
:
{
preProductName
:
{
...
@@ -29,7 +30,8 @@ const letianProductDeepSchema = new Schema({
...
@@ -29,7 +30,8 @@ const letianProductDeepSchema = new Schema({
comment
:
"库存量"
comment
:
"库存量"
},
},
productPhotos
:
{
productPhotos
:
{
type
:
String
,
type
:
mongoose
.
Types
.
ObjectId
,
ref
:
'File'
,
comment
:
"产品照片"
comment
:
"产品照片"
},
},
introduction
:
{
introduction
:
{
...
...
db/models/letianProductPlant.js
View file @
3067f836
...
@@ -34,7 +34,7 @@ const letianProductPlantSchema = new Schema({
...
@@ -34,7 +34,7 @@ const letianProductPlantSchema = new Schema({
comment
:
"种植规划 关联信息 按照农作物的名称关联"
comment
:
"种植规划 关联信息 按照农作物的名称关联"
},
},
productNumber
:
{
productNumber
:
{
type
:
String
,
type
:
Number
,
comment
:
"产品编号"
comment
:
"产品编号"
},
},
...
...
db/models/letianProductPre.js
View file @
3067f836
...
@@ -8,7 +8,8 @@ const moment = require('moment');
...
@@ -8,7 +8,8 @@ const moment = require('moment');
const
letianProductPreSchema
=
new
Schema
({
const
letianProductPreSchema
=
new
Schema
({
sourcePlantProduct
:
{
sourcePlantProduct
:
{
type
:
String
,
type
:
mongoose
.
Types
.
ObjectId
,
ref
:
'ProductPlant'
,
comment
:
"来源种植产品"
comment
:
"来源种植产品"
},
},
preProductName
:
{
preProductName
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment