明树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
05986797
Commit
05986797
authored
Dec 26, 2025
by
zfp1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d0e25964
Pipeline
#105221
passed with stage
in 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
projectTzController.js
controller/projectTzController.js
+9
-9
No files found.
controller/projectTzController.js
View file @
05986797
...
...
@@ -725,20 +725,20 @@ async function getJsqtzjcList (req, res, next) {
search
.
offset
=
offset
;
let
where
=
{
del
:
0
};
if
(
req
.
body
.
projectName
)
{
where
=
{
[
Op
.
or
]:
[
{
projectName
:
{
[
Op
.
like
]:
`%
${
req
.
body
.
projectName
}
%`
}
},
],
del
:
0
}
}
//
if (req.body.projectName) {
//
where = {
//
[Op.or]: [
//
{ projectName: { [Op.like]: `%${req.body.projectName}%` } },
//
],
//
del: 0
//
}
//
}
search
.
where
=
where
;
if
(
req
.
body
.
attributes
&&
req
.
body
.
attributes
.
length
)
{
search
.
attributes
=
req
.
body
.
attributes
;
}
let
ret
=
await
DB
.
TzJsqtz
hs
.
findAndCountAll
(
search
);
let
ret
=
await
DB
.
TzJsqtz
jc
.
findAndCountAll
(
search
);
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