Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
research-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
research-project
Commits
ab80b9b8
Commit
ab80b9b8
authored
Mar 07, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
活动导出
parent
448ac294
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
cloud-research-service/src/main/java/com/yizhi/research/application/mapper/ResearchMapper.xml
+9
-5
No files found.
cloud-research-service/src/main/java/com/yizhi/research/application/mapper/ResearchMapper.xml
View file @
ab80b9b8
...
...
@@ -137,7 +137,7 @@
and
<![CDATA[ tb.end_time > #{now} ]]>
and answer.id is not null and answer.finish = 1
group by tb.id
)t
order by t.submitTime desc
order by t
b.create_time desc,t
.submitTime desc
</if>
<if
test=
"state == 2"
>
select
...
...
@@ -173,7 +173,7 @@
and
<![CDATA[ tb.end_time > #{now} ]]>
and
<![CDATA[ tb.start_time < #{now} ]]>
and ( answer.id is null or
answer.finish = 0)
group by tb.id
order by tb.end_time
order by tb.
create_time desc,tb.
end_time
</if>
<if
test=
"state == null"
>
...
...
@@ -222,7 +222,7 @@
</if>
group by tb.id
)t
order by t.endTime desc,id
order by t
b.create_time desc,t
.endTime desc,id
</if>
</select>
...
...
@@ -384,7 +384,9 @@
and
<![CDATA[ tb.end_time > #{now} ]]>
and answer.id is not null and answer.finish = 1
group by tb.id
)t
order by t.submitTime desc
order by tb.create_time desc
-- order by t.submitTime desc
</if>
<if
test=
"state == 2"
>
select
...
...
@@ -418,7 +420,8 @@
and
<![CDATA[ tb.end_time > #{now} ]]>
and
<![CDATA[ tb.start_time < #{now} ]]>
and ( answer.id is null or
answer.finish = 0)
group by tb.id
order by tb.end_time
order by tb.create_time desc
-- order by tb.end_time
</if>
<if
test=
"state == null"
>
...
...
@@ -439,6 +442,7 @@
and tb.biz_type=#{bizType}
</if>
group by tb.id
order by tb.create_time desc
</if>
)ttt
</select>
...
...
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