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
c918be5c
Commit
c918be5c
authored
May 20, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):证打印标记功能开发
parent
219d7e00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
ChangeLogInsertListener.java
...e/jg/biz/edit/event/listener/ChangeLogInsertListener.java
+6
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/event/listener/ChangeLogInsertListener.java
View file @
c918be5c
...
...
@@ -49,6 +49,9 @@ public class ChangeLogInsertListener {
@Value
(
"${change.log.deal.thread.number:1}"
)
private
int
threadNumber
;
@Value
(
"${change.log.deal.routePath:/mixuap?appId=1742358052905971713&id=1924440797940314113}"
)
private
String
routePath
;
private
final
ESDataChangeLogDao
esDataChangeLogDao
;
private
final
JgBizChangeLogServiceImpl
bizChangeLogService
;
...
...
@@ -104,21 +107,21 @@ public class ChangeLogInsertListener {
Optional
.
ofNullable
(
event
.
getBizRelationData
().
getRecords
()).
orElse
(
Collections
.
emptySet
()).
stream
()
).
findFirst
().
orElse
(
null
);
String
businessTypeName
=
BusinessTypeEnum
.
findNameByEnumName
(
changeLog
.
getBizType
())
.
map
(
name
->
"设备编辑_"
+
name
)
.
orElse
(
"设备编辑"
);
.
findNameByEnumName
(
changeLog
.
getBizType
()).
orElse
(
"设备编辑"
);
jgResumeInfoService
.
createWithModel
(
JgResumeInfoDto
.
builder
()
.
applyNo
(
event
.
getBizRelationData
().
getBizId
())
.
businessType
(
businessTypeName
)
.
businessId
(
event
.
getBizRelationData
().
getBizId
())
.
equId
(
equId
)
.
resumeType
(
"1"
)
.
changeContent
(
"设备编辑"
)
.
changeLogId
(
String
.
valueOf
(
changeLog
.
getSequenceNbr
()))
.
approvalUnit
(
event
.
getBizRelationData
().
getUnitName
())
.
approvalUnitCode
(
event
.
getBizRelationData
().
getUnitCode
())
.
createUserName
(
event
.
getBizRelationData
().
getRecUserName
())
.
createUserId
(
event
.
getRequestContext
().
getExcutedUserId
())
.
status
(
"正常"
)
.
routePath
(
routePath
)
.
build
());
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
(),
e
);
...
...
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