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
8c444a52
Commit
8c444a52
authored
Dec 05, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 自测bug,检验检测工作台待办摘要内容在无监管码时去掉不显示空【】
parent
c06bf4d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+10
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionApplicationServiceImpl.java
View file @
8c444a52
...
@@ -287,7 +287,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -287,7 +287,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
ta
.
setNextTaskId
(
model
.
getNextTaskId
());
ta
.
setNextTaskId
(
model
.
getNextTaskId
());
dto
.
setModel
(
ta
);
dto
.
setModel
(
ta
);
//摘要 按原有规则组装
//摘要 按原有规则组装
dto
.
setTaskContent
(
"来自"
+
model
.
getEquList
()
+
"【"
+
model
.
getSupervisoryCode
()
+
"】的业务办理,【申请单号:"
+
model
.
getApplicationNo
()
+
"】"
);
dto
.
setTaskContent
(
this
.
buildTaskContent
(
model
)
);
//申请单号
//申请单号
dto
.
setTaskCode
(
model
.
getApplicationNo
());
dto
.
setTaskCode
(
model
.
getApplicationNo
());
//业务类型枚举code值
//业务类型枚举code值
...
@@ -304,7 +304,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -304,7 +304,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
this
.
createdTaskModel
(
model
);
this
.
createdTaskModel
(
model
);
}
else
{
}
else
{
String
taskContent
=
"来自"
+
model
.
getEquList
()
+
"【"
+
model
.
getSupervisoryCode
()
+
"】的业务办理,【申请单号:"
+
model
.
getApplicationNo
()
+
"】"
;
String
taskContent
=
taskModelService
.
updateTaskContentById
(
MapBuilder
.<
String
,
Object
>
create
().
put
(
"taskContent"
,
taskContent
).
put
(
"relationId"
,
model
.
getSequenceNbr
()
+
""
).
build
());
taskModelService
.
updateTaskContentById
(
MapBuilder
.<
String
,
Object
>
create
().
put
(
"taskContent"
,
taskContent
).
put
(
"relationId"
,
model
.
getSequenceNbr
()
+
""
).
build
());
}
}
}
}
...
@@ -418,6 +418,13 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -418,6 +418,13 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
return
this
.
buildRedundancyField
(
model
);
return
this
.
buildRedundancyField
(
model
);
}
}
private
String
buildTaskContent
(
JyjcInspectionApplicationModel
model
){
return
String
.
format
(
"来自%s%s的业务办理,【申请单号:%s】"
,
model
.
getEquList
(),
StringUtils
.
isNotBlank
(
model
.
getSupervisoryCode
())
?
"【"
+
model
.
getSupervisoryCode
()
+
"】"
:
""
,
model
.
getApplicationNo
());
}
private
String
null2String
(
Object
obj
)
{
private
String
null2String
(
Object
obj
)
{
return
obj
==
null
?
""
:
obj
.
toString
();
return
obj
==
null
?
""
:
obj
.
toString
();
}
}
...
@@ -1032,7 +1039,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1032,7 +1039,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
dto
.
setFlowCreateDate
(
new
Date
());
dto
.
setFlowCreateDate
(
new
Date
());
dto
.
setTaskName
(
model
.
getNextTaskName
());
dto
.
setTaskName
(
model
.
getNextTaskName
());
dto
.
setFlowCode
(
model
.
getNextTaskId
());
dto
.
setFlowCode
(
model
.
getNextTaskId
());
dto
.
setTaskContent
(
"来自"
+
model
.
getEquList
()
+
"【"
+
model
.
getSupervisoryCode
()
+
"】的业务办理,【申请单号:"
+
model
.
getApplicationNo
()
+
"】"
);
dto
.
setTaskContent
(
this
.
buildTaskContent
(
model
)
);
dto
.
setTaskCode
(
model
.
getApplicationNo
());
dto
.
setTaskCode
(
model
.
getApplicationNo
());
dto
.
setTaskType
(
BizTypeEnum
.
getNumByCode
(
model
.
getBizType
()));
dto
.
setTaskType
(
BizTypeEnum
.
getNumByCode
(
model
.
getBizType
()));
dto
.
setTaskTypeLabel
(
BizTypeEnum
.
getNameByCode
(
model
.
getBizType
()));
dto
.
setTaskTypeLabel
(
BizTypeEnum
.
getNameByCode
(
model
.
getBizType
()));
...
...
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