明树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
b3aa5ec5
Commit
b3aa5ec5
authored
Apr 03, 2026
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ec07c517
Pipeline
#109219
passed with stage
in 3 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
projectThController.js
controller/projectThController.js
+12
-0
projectTzController.js
controller/projectTzController.js
+6
-0
No files found.
controller/projectThController.js
View file @
b3aa5ec5
...
...
@@ -55,6 +55,9 @@ async function getYyqtzhsInfo(req, res, next) {
ndYear
);
}
if
(
req
.
body
.
projectId
)
{
search
.
projectId
=
req
.
body
.
projectId
;
}
console
.
log
(
search
,
"==="
)
// if (_.isEmpty(search)) {
// return res.sendError(errorMessage.paramsError);
...
...
@@ -201,6 +204,9 @@ async function getYyqtzjcInfo(req, res, next) {
if
(
req
.
body
.
id
)
{
search
.
id
=
req
.
body
.
id
;
}
if
(
req
.
body
.
projectId
)
{
search
.
projectId
=
req
.
body
.
projectId
;
}
if
(
_
.
isEmpty
(
search
))
{
return
res
.
sendError
(
errorMessage
.
paramsError
);
}
...
...
@@ -429,6 +435,9 @@ async function getTzhpjInfo(req, res, next) {
if
(
req
.
body
.
id
)
{
search
.
id
=
req
.
body
.
id
;
}
if
(
req
.
body
.
projectId
)
{
search
.
projectId
=
req
.
body
.
projectId
;
}
if
(
_
.
isEmpty
(
search
))
{
return
res
.
sendError
(
errorMessage
.
paramsError
);
}
...
...
@@ -524,6 +533,9 @@ async function getYjglInfo(req, res, next) {
if
(
req
.
body
.
id
)
{
search
.
id
=
req
.
body
.
id
;
}
if
(
req
.
body
.
projectId
)
{
search
.
projectId
=
req
.
body
.
projectId
;
}
if
(
_
.
isEmpty
(
search
))
{
return
res
.
sendError
(
errorMessage
.
paramsError
);
}
...
...
controller/projectTzController.js
View file @
b3aa5ec5
...
...
@@ -140,6 +140,9 @@ async function getTzmbzrsInfo(req, res, next) {
if
(
req
.
body
.
id
)
{
sewhere
.
id
=
req
.
body
.
id
;
}
if
(
req
.
body
.
projectId
)
{
sewhere
.
projectId
=
req
.
body
.
projectId
;
}
if
(
_
.
isEmpty
(
sewhere
))
{
return
res
.
sendError
(
errorMessage
.
paramsError
);
}
...
...
@@ -667,6 +670,9 @@ async function getJsqtzhsInfo(req, res, next) {
if
(
req
.
body
.
id
)
{
search
.
id
=
req
.
body
.
id
;
}
if
(
req
.
body
.
projectId
)
{
search
.
projectId
=
req
.
body
.
projectId
;
}
if
(
_
.
isEmpty
(
search
))
{
return
res
.
sendError
(
errorMessage
.
paramsError
);
}
...
...
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