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
6e9a27da
Commit
6e9a27da
authored
Jan 16, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化:移装变更 暂存任务及撤回任务修改
parent
00b199ba
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
3 deletions
+20
-3
JgChangeRegistrationTransferServiceImpl.java
...service/impl/JgChangeRegistrationTransferServiceImpl.java
+13
-2
urlInfo.json
...s-boot-module-jg-biz/src/main/resources/json/urlInfo.json
+7
-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/JgChangeRegistrationTransferServiceImpl.java
View file @
6e9a27da
...
...
@@ -135,8 +135,6 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
ICmWorkflowService
icmWorkflowService
;
@Autowired
CommonServiceImpl
commonService
;
@Value
(
"classpath:/json/urlInfo.json"
)
private
Resource
bizTypeInfo
;
/**
* 新增移装变更登记
...
...
@@ -299,6 +297,7 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
//发起流程
if
(
"1"
.
equals
(
submitType
))
{
String
instanceId
=
""
;
if
(!
ValidationUtil
.
isEmpty
(
oldTransfer
.
getSequenceNbr
())
&&
!
ValidationUtil
.
isEmpty
(
oldTransfer
.
getInstanceId
()))
{
this
.
flowExecute
(
oldTransfer
.
getSequenceNbr
(),
oldTransfer
.
getInstanceId
(),
"0"
,
""
);
}
else
{
...
...
@@ -314,9 +313,21 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
WorkflowResultDto
workflowResult
=
this
.
startWorkFlork
(
oldTransfer
.
getReceiveOrgCode
());
this
.
updateExecuteIds
(
instanceId
,
oldTransfer
,
"startWorkfow"
,
workflowResult
);
//删除旧的代办
commonService
.
deleteTaskModel
(
oldTransfer
.
getSequenceNbr
().
toString
());
//生成代办
this
.
createToDoTask
(
Arrays
.
asList
(
workflowResult
),
oldTransfer
,
submitType
);
}
}
else
{
List
<
TaskModelDto
>
modelDtos
=
new
ArrayList
<>();
TaskModelDto
dto
=
new
TaskModelDto
();
dto
.
setModel
(
oldTransfer
);
dto
.
setTaskContent
(
this
.
getSummaryInfo
(
oldTransfer
));
dto
.
setTaskCode
(
oldTransfer
.
getApplyNo
());
dto
.
setTaskType
(
BusinessTypeEnum
.
JG_CHANGE_REGISTRATION
.
getCode
());
dto
.
setRelationId
(
oldTransfer
.
getSequenceNbr
()
+
""
);
modelDtos
.
add
(
dto
);
commonService
.
buildTaskModel
(
modelDtos
);
}
return
true
;
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/urlInfo.json
View file @
6e9a27da
...
...
@@ -120,6 +120,12 @@
},
{
"type"
:
"110"
,
"pageType"
:
"draft"
,
"name"
:
"移装变更登记"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1737388347548004354&roleIds={roleIds}&userId={userId}&pageType=edit"
},
{
"type"
:
"110"
,
"pageType"
:
"look"
,
"name"
:
"移装变更登记"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1737388393685348353&roleIds={roleIds}&userId={userId}&pageType=look"
...
...
@@ -128,7 +134,7 @@
"type"
:
"110"
,
"pageType"
:
"edit"
,
"name"
:
"移装变更登记"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=17373883
47548004354
&roleIds={roleIds}&userId={userId}&pageType=edit"
"url"
:
"/mixuap?appId=1742358052905971713&id=17373883
93685348353
&roleIds={roleIds}&userId={userId}&pageType=edit"
},
{
"type"
:
"111"
,
...
...
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