Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-health-science
Commits
63f759e2
Commit
63f759e2
authored
Dec 30, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
099c264d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ComProjectTaskDAO.xml
...nce-admin/src/main/resources/mapper/ComProjectTaskDAO.xml
+3
-2
No files found.
science-admin/src/main/resources/mapper/ComProjectTaskDAO.xml
View file @
63f759e2
...
...
@@ -9,7 +9,8 @@
</sql>
<select
id=
"getListByPage"
resultType=
"com.yiboshi.science.param.dto.ComProjectTaskDTO"
>
select b.id,b.test_state,b.start_date,b.end_date,c.id as proj_id,c.proj_name,c.proj_no,c.version_no,c.proj_class,c.report_year,c.start_date proj_start,c.end_date proj_end,c.proj_state,d.unit_name app_unit_name,e.person_name app_person_name
from com_project c left join com_project_task b on b.proj_id=c.id
from com_project c
left join com_project_task b on b.proj_id=c.id
left join com_unit d on c.app_unit_id=d.id
left join com_person e on c.app_person_id=e.id
<where>
...
...
@@ -22,7 +23,7 @@
ifnull(sum(case when c.proj_state=50 and b.test_state in(1,10,20) then 1 else 0 end),0) count3,
ifnull(sum(case when c.proj_state=50 then 1 else 0 end),0) count4
from com_project c
left join com_project_t
est
b on b.proj_id=c.id
left join com_project_t
ask
b on b.proj_id=c.id
<where>
${ew.sqlSegment}
</where>
...
...
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