明树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
f5f2cf07
Commit
f5f2cf07
authored
Jan 08, 2026
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f438b4c0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
productDeepController.js
controller/productDeepController.js
+1
-1
productDirPlantController.js
controller/productDirPlantController.js
+1
-1
productPreController.js
controller/productPreController.js
+1
-1
productTracController.js
controller/productTracController.js
+1
-1
productltController.js
controller/productltController.js
+1
-1
No files found.
controller/productDeepController.js
View file @
f5f2cf07
...
...
@@ -76,7 +76,7 @@ async function updateDeepPlant(req, res, next) {
async
function
getSccjMap
()
{
let
list
=
await
DB
.
Sccj
.
find
({
del
:
0
});
let
namemap
=
{};
list
.
map
(
o
=>
{
namemap
(
o
.
key
)
=
o
.
name
});
list
.
map
(
o
=>
{
namemap
[
o
.
key
]
=
o
.
name
});
return
map
;
}
...
...
controller/productDirPlantController.js
View file @
f5f2cf07
...
...
@@ -113,7 +113,7 @@ async function importExcel(req, res, next) {
async
function
getSccjMap
()
{
let
list
=
await
DB
.
Sccj
.
find
({
del
:
0
});
let
namemap
=
{};
list
.
map
(
o
=>
{
namemap
(
o
.
key
)
=
o
.
name
});
list
.
map
(
o
=>
{
namemap
[
o
.
key
]
=
o
.
name
});
return
map
;
}
...
...
controller/productPreController.js
View file @
f5f2cf07
...
...
@@ -75,7 +75,7 @@ async function updatePrePlant(req, res, next) {
async
function
getSccjMap
()
{
let
list
=
await
DB
.
Sccj
.
find
({
del
:
0
});
let
namemap
=
{};
list
.
map
(
o
=>
{
namemap
(
o
.
key
)
=
o
.
name
});
list
.
map
(
o
=>
{
namemap
[
o
.
key
]
=
o
.
name
});
return
map
;
}
module
.
exports
=
{
...
...
controller/productTracController.js
View file @
f5f2cf07
...
...
@@ -294,7 +294,7 @@ async function batchAgrEnvOnOff(req, res, next) {
async
function
getSccjMap
()
{
let
list
=
await
DB
.
Sccj
.
find
({
del
:
0
});
let
namemap
=
{};
list
.
map
(
o
=>
{
namemap
(
o
.
key
)
=
o
.
name
});
list
.
map
(
o
=>
{
namemap
[
o
.
key
]
=
o
.
name
});
return
map
;
}
...
...
controller/productltController.js
View file @
f5f2cf07
...
...
@@ -111,7 +111,7 @@ async function importExcel(req, res, next) {
async
function
getSccjMap
()
{
let
list
=
await
DB
.
Sccj
.
find
({
del
:
0
});
let
namemap
=
{};
list
.
map
(
o
=>
{
namemap
(
o
.
key
)
=
o
.
name
});
list
.
map
(
o
=>
{
namemap
[
o
.
key
]
=
o
.
name
});
return
map
;
}
module
.
exports
=
{
...
...
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