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
8138f834
Commit
8138f834
authored
Feb 18, 2025
by
阳浪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件上传
parent
75ca816c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cloud-research-service/src/main/java/com/yizhi/research/application/mapper/ResearchMapper.xml
+3
-2
No files found.
cloud-research-service/src/main/java/com/yizhi/research/application/mapper/ResearchMapper.xml
View file @
8138f834
...
...
@@ -38,6 +38,7 @@
<result
column=
"tb_keywords"
property=
"keywords"
/>
<result
column=
"tb_enable_task"
property=
"enableTask"
/>
<result
column=
"tb_image"
property=
"image"
/>
<result
column=
"real_count"
property=
"realCount"
/>
</resultMap>
<!-- 通用查询结果列 -->
...
...
@@ -285,9 +286,9 @@
</select>
<!-- 后台管理分页列表 -->
<select
id=
"listPage"
result
Type=
"com.yizhi.research.application.vo.domain.Research
"
>
<select
id=
"listPage"
result
Map=
"BaseResultMap
"
>
select
<include
refid=
"Base_Column_List"
/>
,tra.real_count
AS realCount
<include
refid=
"Base_Column_List"
/>
,tra.real_count
from research tb
left join (SELECT research_id,count(1) real_count FROM cloud_research.tr_research_answer x
group by research_id) tra on tb.id = tra.research_id
...
...
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