Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
6bb20618
Commit
6bb20618
authored
Jan 15, 2025
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除笔记,打开记录设置为无效2
parent
1b039f01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ch-dao/src/main/java/com/wwdz/ch/db/impl/qiandao/QdUserSignInNoteDaoImpl.java
.../com/wwdz/ch/db/impl/qiandao/QdUserSignInNoteDaoImpl.java
+5
-2
No files found.
ch-dao/src/main/java/com/wwdz/ch/db/impl/qiandao/QdUserSignInNoteDaoImpl.java
View file @
6bb20618
...
@@ -47,7 +47,11 @@ public class QdUserSignInNoteDaoImpl implements QdUserSignInNoteDao {
...
@@ -47,7 +47,11 @@ public class QdUserSignInNoteDaoImpl implements QdUserSignInNoteDao {
public
List
<
QdUserSignInNote
>
findSelfNoteByPage
(
QdUserSignInNoteRequestDto
dto
)
{
public
List
<
QdUserSignInNote
>
findSelfNoteByPage
(
QdUserSignInNoteRequestDto
dto
)
{
QdUserSignInNoteExample
example
=
new
QdUserSignInNoteExample
();
QdUserSignInNoteExample
example
=
new
QdUserSignInNoteExample
();
QdUserSignInNoteExample
.
Criteria
orCriteria
=
example
.
createCriteria
();
QdUserSignInNoteExample
.
Criteria
orCriteria
=
example
.
createCriteria
();
JdbcHelper
.
ifPresent
(
dto
.
getUserId
(),
orCriteria
::
andUserIdEqualTo
);
if
(
dto
.
getUserId
()
==
null
)
{
orCriteria
.
andIsPrivateEqualTo
(
false
);
}
else
{
orCriteria
.
andUserIdEqualTo
(
dto
.
getUserId
());
}
JdbcHelper
.
ifPresent
(
dto
.
getTaskId
(),
orCriteria
::
andTaskIdEqualTo
);
JdbcHelper
.
ifPresent
(
dto
.
getTaskId
(),
orCriteria
::
andTaskIdEqualTo
);
orCriteria
.
andIsDeletedEqualTo
(
false
);
orCriteria
.
andIsDeletedEqualTo
(
false
);
if
(
dto
.
getOnlySelf
()
==
null
||
!
dto
.
getOnlySelf
())
{
if
(
dto
.
getOnlySelf
()
==
null
||
!
dto
.
getOnlySelf
())
{
...
@@ -70,7 +74,6 @@ public class QdUserSignInNoteDaoImpl implements QdUserSignInNoteDao {
...
@@ -70,7 +74,6 @@ public class QdUserSignInNoteDaoImpl implements QdUserSignInNoteDao {
QdUserSignInNoteExample
example
=
new
QdUserSignInNoteExample
();
QdUserSignInNoteExample
example
=
new
QdUserSignInNoteExample
();
QdUserSignInNoteExample
.
Criteria
criteria
=
example
.
createCriteria
();
QdUserSignInNoteExample
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andIdEqualTo
(
noteId
);
criteria
.
andIdEqualTo
(
noteId
);
criteria
.
andIsDeletedEqualTo
(
false
);
return
qdUserSignInNoteMapper
.
selectOneByExample
(
example
);
return
qdUserSignInNoteMapper
.
selectOneByExample
(
example
);
}
}
...
...
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