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
a17a39ad
Commit
a17a39ad
authored
Jan 12, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.多级撤回后任务状态不正确
parent
6d8aeea4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
JgChangeRegistrationNameMapper.xml
.../main/resources/mapper/JgChangeRegistrationNameMapper.xml
+1
-1
JgChangeRegistrationNameController.java
...jg/biz/controller/JgChangeRegistrationNameController.java
+1
-0
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+7
-1
JgChangeRegistrationNameServiceImpl.java
...biz/service/impl/JgChangeRegistrationNameServiceImpl.java
+2
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationNameMapper.xml
View file @
a17a39ad
...
...
@@ -59,7 +59,7 @@
AND ur.receive_org_code = #{orgCode}
</if>
<if
test=
"dto.type == 'company'"
>
and ur.use_unit_credit_code = #{
org
Code}
and ur.use_unit_credit_code = #{
dto.useUnitCredit
Code}
</if>
</where>
order by ur.rec_date desc
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgChangeRegistrationNameController.java
View file @
a17a39ad
...
...
@@ -114,6 +114,7 @@ public class JgChangeRegistrationNameController extends BaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
if
(
reginParams
.
getCompany
().
getLevel
().
equals
(
COMPANY_TYPE_COMPANY
)){
dto
.
setType
(
COMPANY_TYPE_COMPANY
);
dto
.
setUseUnitCreditCode
(
reginParams
.
getCompany
().
getCompanyCode
());
}
else
{
dto
.
setType
(
COMPANY_TYPE_SUPERVISION
);
}
...
...
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/CommonServiceImpl.java
View file @
a17a39ad
...
...
@@ -810,13 +810,19 @@ public class CommonServiceImpl implements ICommonService {
List
<
TaskV2Model
>
list
=
result
.
stream
().
sorted
((
r1
,
r2
)
->
r2
.
getSequenceNbr
().
compareTo
(
r1
.
getSequenceNbr
())).
collect
(
Collectors
.
toList
());
TaskV2Model
model
=
list
.
get
(
0
);
Systemctl
.
taskV2Client
.
delete
(
String
.
valueOf
(
model
.
getSequenceNbr
()));
if
(
list
.
size
()>
1
){
if
(
list
.
size
()
>
1
){
TaskV2Model
lastTaskModel
=
list
.
get
(
1
);
lastTaskModel
.
setEndUserId
(
null
);
lastTaskModel
.
setEndDate
(
null
);
lastTaskModel
.
setTaskStatus
(
0
);
lastTaskModel
.
setTaskStatusLabel
(
"待处理"
);
lastTaskModel
.
setFlowCode
(
obj
.
get
(
"nextTaskId"
).
toString
());
if
(
obj
.
get
(
"flowStatus"
)
!=
null
){
lastTaskModel
.
setFlowStatus
(
Integer
.
valueOf
(
obj
.
get
(
"flowStatus"
).
toString
()));
}
if
(
obj
.
get
(
"flowStatusLabel"
)
!=
null
){
lastTaskModel
.
setFlowStatusLabel
(
obj
.
get
(
"flowStatusLabel"
).
toString
());
}
String
urlParams
=
""
;
try
{
urlParams
=
"&"
+
toQueryParams
(
obj
);
...
...
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/JgChangeRegistrationNameServiceImpl.java
View file @
a17a39ad
...
...
@@ -411,6 +411,8 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
jsonObject
.
put
(
"nextTaskId"
,
jgChangeRegistrationName
.
getNextTaskId
());
jsonObject
.
put
(
"nextExecuteUser"
,
jgChangeRegistrationName
.
getNextExecutorIds
());
jsonObject
.
put
(
"taskType"
,
BusinessTypeEnum
.
JG_NAME_CHANGE_REGISTRATION
.
getCode
());
jsonObject
.
put
(
"flowStatus"
,
this
.
getTaskCodeByName
(
jgChangeRegistrationName
.
getAuditStatus
()));
jsonObject
.
put
(
"flowStatusLabel"
,
jgChangeRegistrationName
.
getAuditStatus
());
commonService
.
rollbackTask
(
instanceId
,
jsonObject
);
}
...
...
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