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
c3595c76
Commit
c3595c76
authored
Sep 30, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6bdd0e59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
14 deletions
+20
-14
ComProjectAuditServiceImpl.java
...oshi/science/service/impl/ComProjectAuditServiceImpl.java
+12
-12
ComProjectTaskServiceImpl.java
...boshi/science/service/impl/ComProjectTaskServiceImpl.java
+7
-1
ComProjectAuditDAO.xml
...ce-admin/src/main/resources/mapper/ComProjectAuditDAO.xml
+1
-1
No files found.
science-admin/src/main/java/com/yiboshi/science/service/impl/ComProjectAuditServiceImpl.java
View file @
c3595c76
...
@@ -279,19 +279,19 @@ public class ComProjectAuditServiceImpl extends BaseServiceImpl<ComProjectAuditD
...
@@ -279,19 +279,19 @@ public class ComProjectAuditServiceImpl extends BaseServiceImpl<ComProjectAuditD
if
(
model
.
getAuditResult
().
equals
(
CommonEnum
.
auditResult
.
pass
.
getCode
()))
{
if
(
model
.
getAuditResult
().
equals
(
CommonEnum
.
auditResult
.
pass
.
getCode
()))
{
if
(
unitLevel
.
equals
(
1
))
{
if
(
unitLevel
.
equals
(
1
))
{
if
(
auditMethod
.
equals
(
CommonEnum
.
auditMethod
.
audit
.
getCode
()))
{
if
(
auditMethod
.
equals
(
CommonEnum
.
auditMethod
.
audit
.
getCode
()))
{
// if (model.getAuditType().equals(CommonEnum.auditType.project.getCode())) {
if
(!
model
.
getAuditType
().
equals
(
CommonEnum
.
auditType
.
task
.
getCode
()))
{
ComProjectAudit
auditNote
=
this
.
getAudit
(
auditObjectId
,
auditUnitId
,
auditType
,
CommonEnum
.
auditMethod
.
last
.
getCode
(),
null
);
ComProjectAudit
auditNote
=
this
.
getAudit
(
auditObjectId
,
auditUnitId
,
auditType
,
CommonEnum
.
auditMethod
.
last
.
getCode
(),
null
);
if
(
null
!=
auditNote
)
{
if
(
null
!=
auditNote
)
{
// 更新上级单位上报记录
// 更新上级单位上报记录
this
.
updateAudit
(
auditNote
.
getId
(),
CommonEnum
.
auditResult
.
waitAudit
.
getCode
(),
""
,
index
+
1
,
SecurityUserHolder
.
getPersonId
(),
new
Date
(),
null
,
null
,
null
,
null
);
this
.
updateAudit
(
auditNote
.
getId
(),
CommonEnum
.
auditResult
.
waitAudit
.
getCode
(),
""
,
index
+
1
,
SecurityUserHolder
.
getPersonId
(),
new
Date
(),
null
,
null
,
null
,
null
);
}
else
{
}
else
{
//插入上报表
//插入上报表
this
.
insertAudit
(
reportYear
,
auditType
,
auditObjectId
,
CommonEnum
.
auditMethod
.
last
.
getCode
(),
auditUnitId
,
null
,
CommonEnum
.
auditResult
.
waitAudit
.
getCode
(),
null
,
unitLevel
,
index
+
1
,
SecurityUserHolder
.
getPersonId
());
this
.
insertAudit
(
reportYear
,
auditType
,
auditObjectId
,
CommonEnum
.
auditMethod
.
last
.
getCode
(),
auditUnitId
,
null
,
CommonEnum
.
auditResult
.
waitAudit
.
getCode
(),
null
,
unitLevel
,
index
+
1
,
SecurityUserHolder
.
getPersonId
());
}
// 插入审核记录表
comProjectAuditNoteService
.
insertAuditNote
(
reportYear
,
auditType
,
auditObjectId
,
CommonEnum
.
auditMethod
.
last
.
getCode
(),
auditUnitId
,
null
,
CommonEnum
.
auditResult
.
waitAudit
.
getCode
(),
null
,
unitLevel
,
index
+
1
,
SecurityUserHolder
.
getPersonId
());
unitId
=
auditUnitId
;
}
}
// 插入审核记录表
comProjectAuditNoteService
.
insertAuditNote
(
reportYear
,
auditType
,
auditObjectId
,
CommonEnum
.
auditMethod
.
last
.
getCode
(),
auditUnitId
,
null
,
CommonEnum
.
auditResult
.
waitAudit
.
getCode
(),
null
,
unitLevel
,
index
+
1
,
SecurityUserHolder
.
getPersonId
());
unitId
=
auditUnitId
;
// }
}
}
}
else
{
}
else
{
// 获取上级单位
// 获取上级单位
...
...
science-admin/src/main/java/com/yiboshi/science/service/impl/ComProjectTaskServiceImpl.java
View file @
c3595c76
...
@@ -67,8 +67,9 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
...
@@ -67,8 +67,9 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
private
ComProjectKpitService
comProjectKpitService
;
private
ComProjectKpitService
comProjectKpitService
;
@Autowired
@Autowired
private
SystemParameterService
systemParameterService
;
private
SystemParameterService
systemParameterService
;
@Autowired
@Autowired
private
Com
BatchService
comBatch
Service
;
private
Com
ProjectAuditNoteService
comProjectAuditNote
Service
;
@Override
@Override
protected
void
setCriteriaForQuery
(
ComProjectTaskQueryVO
vo
,
QueryWrapper
<
ComProjectTaskQueryVO
>
criteria
)
{
protected
void
setCriteriaForQuery
(
ComProjectTaskQueryVO
vo
,
QueryWrapper
<
ComProjectTaskQueryVO
>
criteria
)
{
...
@@ -306,6 +307,11 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
...
@@ -306,6 +307,11 @@ public class ComProjectTaskServiceImpl extends BaseServiceImpl<ComProjectTaskDAO
fileList
=
ComFileService
.
getListByObjectId
(
dto
.
getProjId
(),
CommonEnum
.
fileType
.
project
.
getCode
());
fileList
=
ComFileService
.
getListByObjectId
(
dto
.
getProjId
(),
CommonEnum
.
fileType
.
project
.
getCode
());
fileList
=
configureFileList
(
fileList
);
fileList
=
configureFileList
(
fileList
);
dto
.
setFileList
(
fileList
);
dto
.
setFileList
(
fileList
);
//审核记录列表
List
<
ComProjectAuditNoteDTO
>
auditList
=
comProjectAuditNoteService
.
getListByObjectId
(
dto
.
getId
());
dto
.
setAuditList
(
auditList
);
return
dto
;
return
dto
;
}
}
...
...
science-admin/src/main/resources/mapper/ComProjectAuditDAO.xml
View file @
c3595c76
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</select>
</select>
<select
id=
"getTaskAuditListByPage"
resultType=
"com.yiboshi.science.param.dto.ComProjectAuditDTO"
>
<select
id=
"getTaskAuditListByPage"
resultType=
"com.yiboshi.science.param.dto.ComProjectAuditDTO"
>
SELECT
SELECT
a.*,c.id proj_id,c.proj_name,c.proj_no,c.version_no,c.app_no,c.proj_class,
c.start_date,c
.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
FROM com_project_audit a
FROM com_project_audit a
left join com_project_task b on a.audit_object_id=b.id
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 c on b.proj_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