Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
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
7b313333
Commit
7b313333
authored
Oct 11, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
70f425c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
13 deletions
+20
-13
ComProjectAuditController.java
...om/yiboshi/science/rest/v1/ComProjectAuditController.java
+15
-12
ComProjectAuditDAO.xml
...ce-admin/src/main/resources/mapper/ComProjectAuditDAO.xml
+5
-1
No files found.
science-admin/src/main/java/com/yiboshi/science/rest/v1/ComProjectAuditController.java
View file @
7b313333
...
...
@@ -137,18 +137,9 @@ public class ComProjectAuditController extends BaseController<ComProjectAuditSer
Pagination
<
ComProjectAuditDTO
>
page
=
comProjectAuditService
.
getAuditListByPage
(
vo
);
if
(
null
!=
page
&&
null
!=
page
.
getDataList
()
&&
page
.
getDataList
().
size
()
!=
0
)
{
page
.
getDataList
().
forEach
((
e
)
->
{
if
(
vo
.
getPageIndex
()
!=
-
1
)
{
e
.
setMobile
(
hideAllPhoneNum
(
e
.
getMobile
()));
e
.
setCertId
(
hideAllIdCardNum
(
e
.
getCertId
()));
}
if
(
null
!=
e
.
getAuditResult
())
e
.
setAuditResultName
(
CommonEnum
.
auditResult
.
getEnum
(
e
.
getAuditResult
()).
getDescription
());
e
.
setTalentCategoryName
(
systemParameterService
.
getParaName
(
e
.
getTalentCategory
()));
e
.
setTitleName
(
systemParameterService
.
getParaName
(
e
.
getTitle
()));
e
.
setProfessionName
(
systemParameterService
.
getParaName
(
e
.
getProfession
()));
if
(
vo
.
getAuditMethod
().
equals
(
CommonEnum
.
auditMethod
.
last
.
getCode
())
&&
vo
.
getAuditType
().
equals
(
CommonEnum
.
auditType
.
project
.
getCode
()))
{
// e.setAssignList(comProjectAssignService.getAssignExpertList(e.getAuditObjectId()));
e
.
setAge
(
IDCardUtil
.
getAge
(
e
.
getCertId
()));
if
((
vo
.
getAuditMethod
().
equals
(
CommonEnum
.
auditMethod
.
last
.
getCode
())
&&
vo
.
getAuditType
().
equals
(
CommonEnum
.
auditType
.
project
.
getCode
()))
||
vo
.
getAuditType
().
equals
(
CommonEnum
.
auditType
.
task
.
getCode
()))
{
BigDecimal
total
=
new
BigDecimal
(
0
);
BigDecimal
gov
=
new
BigDecimal
(
0
);
BigDecimal
self
=
new
BigDecimal
(
0
);
...
...
@@ -160,7 +151,19 @@ public class ComProjectAuditController extends BaseController<ComProjectAuditSer
}
self
=
total
.
subtract
(
gov
);
e
.
setSelfFunding
(
self
);
e
.
setAge
(
IDCardUtil
.
getAge
(
e
.
getCertId
()));
}
if
(
vo
.
getAuditType
().
equals
(
CommonEnum
.
auditType
.
talent
.
getCode
()))
{
e
.
setTalentCategoryName
(
systemParameterService
.
getParaName
(
e
.
getTalentCategory
()));
e
.
setTitleName
(
systemParameterService
.
getParaName
(
e
.
getTitle
()));
e
.
setProfessionName
(
systemParameterService
.
getParaName
(
e
.
getProfession
()));
}
if
(
vo
.
getPageIndex
()
!=
-
1
)
{
e
.
setMobile
(
hideAllPhoneNum
(
e
.
getMobile
()));
e
.
setCertId
(
hideAllIdCardNum
(
e
.
getCertId
()));
}
if
(
null
!=
e
.
getAuditResult
())
e
.
setAuditResultName
(
CommonEnum
.
auditResult
.
getEnum
(
e
.
getAuditResult
()).
getDescription
());
});
}
return
ResponseDataModel
.
ok
(
page
);
...
...
science-admin/src/main/resources/mapper/ComProjectAuditDAO.xml
View file @
7b313333
...
...
@@ -41,10 +41,14 @@
</select>
<select
id=
"getTaskAuditListByPage"
resultType=
"com.yiboshi.science.param.dto.ComProjectAuditDTO"
>
SELECT
a.*,c.id proj_id,c.proj_name,c.proj_no,c.version_no,c.app_no,c.proj_class,b.start_date,b.end_date,c.proj_state,d.unit_name app_unit_name,e.person_name app_person_name
a.*,c.id proj_id,c.proj_name,c.proj_no,c.version_no,c.app_no,c.proj_class,b.start_date,b.end_date,
c.proj_state,
d.unit_name app_unit_name,e.person_name app_person_name,
f.total_funding, f.gov_funding
FROM com_project_audit a
left join com_project_task b on a.audit_object_id=b.id
left join com_project c on b.proj_id=c.id
left join com_project_basic f on c.id = f.proj_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>
...
...
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