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
497f7aff
Commit
497f7aff
authored
Jul 25, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
维修告知修改
parent
a61da8e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
JgMaintainNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgMaintainNoticeServiceImpl.java
+4
-2
urlInfo.json
...s-boot-module-jg-biz/src/main/resources/json/urlInfo.json
+1
-1
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/service/impl/JgMaintainNoticeServiceImpl.java
View file @
497f7aff
...
...
@@ -340,6 +340,7 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
notice
.
setNoticeStatus
(
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_PROCESSED
.
getCode
()));
notice
.
setInstanceId
(
workflowResultDto
.
getInstanceId
());
notice
.
setNextTaskId
(
workflowResultDto
.
getNextTaskId
());
notice
.
setEquList
(
String
.
valueOf
(
deviceList
.
get
(
0
).
get
(
"EQU_LIST"
)));
jgMaintainNoticeMapper
.
updateById
(
notice
);
// 如果为保存并提交,则创建代办
buildTask
(
Collections
.
singletonList
(
notice
),
Collections
.
singletonList
(
workflowResultDto
),
Boolean
.
TRUE
);
...
...
@@ -372,6 +373,7 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
notice
.
setNextExecuteIds
(
String
.
join
(
","
,
workflowResultDto
.
getNextExecutorRoleIds
()));
notice
.
setNoticeStatus
(
String
.
valueOf
(
FlowStatusEnum
.
TO_BE_PROCESSED
.
getCode
()));
notice
.
setNextTaskId
(
workflowResultDto
.
getNextTaskId
());
notice
.
setEquList
(
String
.
valueOf
(
deviceList
.
get
(
0
).
get
(
"EQU_LIST"
)));
jgMaintainNoticeMapper
.
updateById
(
notice
);
// 上个代办改为已办
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>();
...
...
@@ -650,7 +652,7 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
taskMessageDto
.
setNextTaskId
(
obj
.
getNextTaskId
());
dto
.
setModel
(
taskMessageDto
);
//摘要 按原有规则组装
dto
.
setTaskContent
(
String
.
format
(
"来自%s
【%s】的业务办理,【申请单号:%s】"
,
obj
.
getEquList
(),
StringUtils
.
isEmpty
(
obj
.
getSupervisoryCode
())
?
""
:
obj
.
getSupervisoryCode
(),
obj
.
getApplyNo
()));
dto
.
setTaskContent
(
String
.
format
(
"来自%s
的业务办理,【申请单号%s】"
,
obj
.
getEquList
(),
obj
.
getApplyNo
()));
//申请单号
dto
.
setTaskCode
(
obj
.
getApplyNo
());
//业务类型枚举code值
...
...
@@ -691,7 +693,7 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
taskMessageDto
.
setNextTaskId
(
item
.
getNextTaskId
());
taskModelDto
.
setModel
(
taskMessageDto
);
taskModelDto
.
setNextExecuteUser
(
item
.
getNextExecuteIds
());
taskModelDto
.
setTaskContent
(
String
.
format
(
"
%s发起%s维修告知业务申请,【申请单号%s】"
,
item
.
getCreateUserName
(),
item
.
getEquList
(),
item
.
getApplyNo
()));
taskModelDto
.
setTaskContent
(
String
.
format
(
"
来自%s的业务办理,【申请单号%s】"
,
item
.
getEquList
(),
item
.
getApplyNo
()));
taskModelDtoList
.
add
(
taskModelDto
);
if
(
bool
)
{
// 删除暂存时生成的待办
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/urlInfo.json
View file @
497f7aff
...
...
@@ -57,7 +57,7 @@
"type"
:
"104"
,
"pageType"
:
"draft"
,
"name"
:
"维修告知"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1736
722439125102594
&roleIds={roleIds}&userId={userId}&formType=edit"
"url"
:
"/mixuap?appId=1742358052905971713&id=1736
591289295597569
&roleIds={roleIds}&userId={userId}&formType=edit"
},
{
"type"
:
"104"
,
...
...
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