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
9e1b1bd9
Commit
9e1b1bd9
authored
Jan 12, 2024
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化状态显示信息
parent
4a8d5cac
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+5
-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/service/impl/JgChangeRegistrationReformServiceImpl.java
View file @
9e1b1bd9
...
@@ -178,9 +178,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -178,9 +178,9 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
}
else
{
}
else
{
throw
new
BadRequest
(
"申请单编号生成失败,请稍后重试!"
);
throw
new
BadRequest
(
"申请单编号生成失败,请稍后重试!"
);
}
}
jgChangeRegistrationReform
.
setAuditStatus
(
WorkFlowStatusEnum
.
CHANGE_RECEIVE
.
getPass
());
jgChangeRegistrationReform
.
setStatus
(
WorkFlowStatusEnum
.
CHANGE_RECEIVE
.
getPass
());
jgChangeRegistrationReform
.
setRegDate
(
new
Date
());
jgChangeRegistrationReform
.
setRegDate
(
new
Date
());
jgChangeRegistrationReform
.
setStatus
(
WorkFlowStatusEnum
.
CHANGE_SUBMIT
.
getPass
());
jgChangeRegistrationReform
.
setAuditStatus
(
WorkFlowStatusEnum
.
CHANGE_SUBMIT
.
getPass
());
this
.
save
(
jgChangeRegistrationReform
);
this
.
save
(
jgChangeRegistrationReform
);
jgChangeRegistrationReformEq
.
setEquipTransferId
(
jgChangeRegistrationReform
.
getSequenceNbr
().
toString
());
jgChangeRegistrationReformEq
.
setEquipTransferId
(
jgChangeRegistrationReform
.
getSequenceNbr
().
toString
());
jgChangeRegistrationReformEqMapper
.
insert
(
jgChangeRegistrationReformEq
);
jgChangeRegistrationReformEqMapper
.
insert
(
jgChangeRegistrationReformEq
);
...
@@ -191,7 +191,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -191,7 +191,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"submit"
)))
{
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
"submit"
)))
{
String
instanceId
=
""
;
String
instanceId
=
""
;
if
(!
ValidationUtil
.
isEmpty
(
map
.
get
(
"instanceId"
).
toString
()))
{
if
(!
ObjectUtils
.
isEmpty
(
jgChangeRegistrationReform
.
getSequenceNbr
())&&!
ObjectUtils
.
isEmpty
(
jgChangeRegistrationReform
.
getInstanceId
()))
{
instanceId
=
map
.
get
(
"instanceId"
).
toString
();
instanceId
=
map
.
get
(
"instanceId"
).
toString
();
// 如果是旧流程则执行一步
// 如果是旧流程则执行一步
flowExecute
(
jgChangeRegistrationReform
.
getSequenceNbr
(),
instanceId
,
"0"
,
""
);
flowExecute
(
jgChangeRegistrationReform
.
getSequenceNbr
(),
instanceId
,
"0"
,
""
);
...
@@ -199,6 +199,8 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -199,6 +199,8 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
}
else
{
}
else
{
// 如果是新启动的流程开启自动访问
// 如果是新启动的流程开启自动访问
String
equipListName
=
this
.
getBaseMapper
().
getEquiplistNameByEquiplist
(
Optional
.
ofNullable
(
map
.
get
(
"equList"
).
toString
()).
orElse
(
" "
));
String
equipListName
=
this
.
getBaseMapper
().
getEquiplistNameByEquiplist
(
Optional
.
ofNullable
(
map
.
get
(
"equList"
).
toString
()).
orElse
(
" "
));
jgChangeRegistrationReform
.
setAuditStatus
(
WorkFlowStatusEnum
.
CHANGE_RECEIVE
.
getPass
());
jgChangeRegistrationReform
.
setStatus
(
WorkFlowStatusEnum
.
CHANGE_RECEIVE
.
getPass
());
jgChangeRegistrationReform
.
setEquipListName
(
equipListName
);
jgChangeRegistrationReform
.
setEquipListName
(
equipListName
);
jgChangeRegistrationReform
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
jgChangeRegistrationReform
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
jgChangeRegistrationReform
.
setCreateUserName
(
reginParams
.
getUserModel
().
getRealName
());
jgChangeRegistrationReform
.
setCreateUserName
(
reginParams
.
getUserModel
().
getRealName
());
...
...
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