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
42ebc124
Commit
42ebc124
authored
Jul 30, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
eb22123d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
ComProjectAuditServiceImpl.java
...oshi/science/service/impl/ComProjectAuditServiceImpl.java
+9
-4
ComProjectAuditDAO.xml
...ce-admin/src/main/resources/mapper/ComProjectAuditDAO.xml
+2
-1
No files found.
science-admin/src/main/java/com/yiboshi/science/service/impl/ComProjectAuditServiceImpl.java
View file @
42ebc124
...
...
@@ -117,16 +117,21 @@ public class ComProjectAuditServiceImpl extends BaseServiceImpl<ComProjectAuditD
criteria
.
eq
(
"c.completed"
,
vo
.
getCompleted
());
}
if
(
Objects
.
nonNull
(
vo
.
getAssignState
()))
{
criteria
.
eq
(
"c.calculate_score"
,
vo
.
getAssignState
());
criteria
.
eq
(
"c.getAssignState"
,
vo
.
getAssignState
());
}
String
scoreType
=
"c.calculate_score"
;
if
(
vo
.
getAuditType
().
equals
(
CommonEnum
.
auditType
.
talent
.
getCode
()))
{
scoreType
=
"c.average_score"
;
}
if
(
Objects
.
nonNull
(
vo
.
getScoreStart
())
&&
Objects
.
isNull
(
vo
.
getScoreEnd
()))
{
criteria
.
ge
(
"c.calculate_score"
,
vo
.
getScoreStart
());
criteria
.
ge
(
scoreType
,
vo
.
getScoreStart
());
}
if
(
Objects
.
nonNull
(
vo
.
getScoreEnd
())
&&
Objects
.
isNull
(
vo
.
getScoreStart
()))
{
criteria
.
le
(
"c.calculate_score"
,
vo
.
getScoreEnd
());
criteria
.
le
(
scoreType
,
vo
.
getScoreEnd
());
}
if
(
Objects
.
nonNull
(
vo
.
getScoreStart
())
&&
Objects
.
nonNull
(
vo
.
getScoreEnd
()))
{
criteria
.
and
(
qw
->
qw
.
ge
(
"c.calculate_score"
,
vo
.
getScoreStart
()).
le
(
"c.calculate_score"
,
vo
.
getScoreEnd
()));
String
finalScoreType
=
scoreType
;
criteria
.
and
(
qw
->
qw
.
ge
(
finalScoreType
,
vo
.
getScoreStart
()).
le
(
finalScoreType
,
vo
.
getScoreEnd
()));
}
if
(
Objects
.
nonNull
(
vo
.
getProjState
()))
{
criteria
.
eq
(
"c.proj_state"
,
vo
.
getProjState
());
...
...
science-admin/src/main/resources/mapper/ComProjectAuditDAO.xml
View file @
42ebc124
...
...
@@ -97,7 +97,8 @@
<select
id=
"getTalentAuditListByPage"
resultType=
"com.yiboshi.science.param.dto.ComProjectAuditDTO"
>
SELECT
a.*,c.id talent_id,e.cert_id, e.person_name, e.sex, e.mobile, e.duty, e.title, e.spec, i.name as title_name, j.name as profession_name,
a.*,c.id talent_id,c.total_score,c.average_score,
e.cert_id, e.person_name, e.sex, e.mobile, e.duty, e.title, e.spec, i.name as title_name, j.name as profession_name,
d.unit_name app_unit_name, (case when g.unit_name = d.unit_name then '直属' else REPLACE(g.unit_name,'卫生健康局','') end) as upUnitName
FROM com_project_audit a
left join com_talent_apply c on a.audit_object_id = c.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