Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
9e43cca6
Commit
9e43cca6
authored
Mar 23, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
7f07b1da
71ec8300
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
InstallNoticeServiceImpl.java
...module/ugp/biz/service/impl/InstallNoticeServiceImpl.java
+15
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/InstallNoticeServiceImpl.java
View file @
9e43cca6
...
...
@@ -11,6 +11,7 @@ import com.yeejoin.amos.boot.biz.common.utils.DateUtils;
import
com.yeejoin.amos.boot.biz.common.utils.QRCodeUtil
;
import
com.yeejoin.amos.boot.module.ugp.api.Enum.NoticeStatusEnum
;
import
com.yeejoin.amos.boot.module.ugp.api.Enum.ProcessTypeEnum
;
import
com.yeejoin.amos.boot.module.ugp.api.Enum.ProjectInitiationEnum
;
import
com.yeejoin.amos.boot.module.ugp.api.Enum.ProjectResourceEnum
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.InstallNoticePageDto
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.ProjectDto
;
...
...
@@ -266,6 +267,19 @@ public class InstallNoticeServiceImpl extends BaseService<InstallNoticeDto,Insta
.
eq
(
ProcessRelation:
:
getDefCode
,
ProcessTypeEnum
.
项目立项
.
getType
());
ProcessRelation
processRelation
=
processRelationService
.
getOne
(
relationsWrapper
);
installNoticeDto
.
setInstanceId
(
org
.
springframework
.
util
.
ObjectUtils
.
isEmpty
(
processRelation
)
?
null
:
processRelation
.
getInstanceId
());
if
(
ObjectUtils
.
isNotEmpty
(
processRelation
))
{
LambdaQueryWrapper
<
ProjectInitiation
>
logLambda
=
new
LambdaQueryWrapper
<>();
logLambda
.
eq
(
ProjectInitiation:
:
getTaskName
,
ProjectInitiationEnum
.
接受告知
.
getName
());
logLambda
.
eq
(
ProjectInitiation:
:
getInstanceId
,
org
.
springframework
.
util
.
ObjectUtils
.
isEmpty
(
processRelation
)
?
null
:
processRelation
.
getInstanceId
());
logLambda
.
orderByDesc
(
ProjectInitiation:
:
getRecDate
);
logLambda
.
last
(
"limit 1"
);
ProjectInitiation
logObject
=
projectInitiationServiceImpl
.
getOne
(
logLambda
);
if
(
ObjectUtils
.
isNotEmpty
(
logObject
))
{
String
context
=
logObject
.
getContext
();
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
context
);
installNoticeDto
.
setAuditOpinion
(
jsonObject
.
getString
(
"auditOpinion"
));
}
}
return
installNoticeDto
;
}
}
\ No newline at end of file
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