明树Git Lab
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
J
jt_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
jt_backend
Commits
8c2bf854
Commit
8c2bf854
authored
May 29, 2026
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7c11039d
Pipeline
#112169
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
projectRcController.js
controller/projectRcController.js
+17
-0
No files found.
controller/projectRcController.js
View file @
8c2bf854
...
...
@@ -69,6 +69,23 @@ async function getTzjhList(req, res, next) {
search
.
attributes
=
req
.
body
.
attributes
;
}
let
ret
=
await
DB
.
RcTzjh
.
findAndCountAll
(
search
);
// zyfzy, cwbblx, tzsxyjfl tzsxejfl tzmdyjfl tzmdejfl tzznejfl
const
zyfzyMap
=
await
projectModule
.
getResourceInfoMapByKey
(
'zyfzy'
);
const
cwbblxMap
=
await
projectModule
.
getResourceInfoMapByKey
(
'cwbblx'
);
const
tzsxflMap
=
await
projectModule
.
getResourceInfoMapByKey
(
'tzsx'
);
const
tzmdflMap
=
await
projectModule
.
getResourceInfoMapByKey
(
'tzmd'
);
const
tzznflMap
=
await
projectModule
.
getResourceInfoMapByKey
(
'tzzn'
);
ret
.
rows
=
ret
.
rows
.
map
(
row
=>
{
row
.
zyfzy
=
zyfzyMap
[
row
.
zyfzy
]
||
row
.
zyfzy
;
row
.
cwbblx
=
cwbblxMap
[
row
.
cwbblx
]
||
row
.
cwbblx
;
row
.
tzsxyjfl
=
tzsxflMap
[
row
.
tzsxyjfl
]
||
row
.
tzsxyjfl
;
row
.
tzsxejfl
=
tzsxflMap
[
row
.
tzsxejfl
]
||
row
.
tzsxejfl
;
row
.
tzmdyjfl
=
tzmdflMap
[
row
.
tzmdyjfl
]
||
row
.
tzmdyjfl
;
row
.
tzmdejfl
=
tzmdflMap
[
row
.
tzmdejfl
]
||
row
.
tzmdejfl
;
row
.
tzznyjfl
=
tzznflMap
[
row
.
tzznyjfl
]
||
row
.
tzznyjfl
;
row
.
tzznejfl
=
tzznflMap
[
row
.
tzznejfl
]
||
row
.
tzznejfl
;
return
row
;
});
return
res
.
sendData
(
ret
);
}
catch
(
error
)
{
next
(
error
);
...
...
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