Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
site-project
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
site-project
Commits
46ef701b
Commit
46ef701b
authored
Dec 18, 2024
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投稿列表查询
parent
c45e570f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cloud-site-service/src/main/resources/mapper/PublicationMapper.xml
+2
-2
No files found.
cloud-site-service/src/main/resources/mapper/PublicationMapper.xml
View file @
46ef701b
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<if
test=
"number != null"
>
<if
test=
"number != null"
>
and a.number >= #{number}
and a.number >= #{number}
</if>
</if>
<if
test=
"level
== null or
level == 1"
>
<if
test=
"level
!= null and
level == 1"
>
and a.type_one=#{typeId}
and a.type_one=#{typeId}
</if>
</if>
<if
test=
"level != null and level == 2"
>
<if
test=
"level != null and level == 2"
>
...
@@ -307,7 +307,7 @@
...
@@ -307,7 +307,7 @@
a.site_id = #{siteId}
a.site_id = #{siteId}
and a.state=2
and a.state=2
<!-- and c.name=#{typeName} -->
<!-- and c.name=#{typeName} -->
<if
test=
"level
== null or
level == 1"
>
<if
test=
"level
!= null and
level == 1"
>
and a.type_one=#{typeTwo}
and a.type_one=#{typeTwo}
</if>
</if>
<if
test=
"level != null and level == 2"
>
<if
test=
"level != null and level == 2"
>
...
...
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