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
f8f3c3d4
Commit
f8f3c3d4
authored
Dec 15, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
撤回接口修改支持行内操作
parent
ae582231
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
JyjcOpeningApplicationController.java
...jyjc/biz/controller/JyjcOpeningApplicationController.java
+2
-2
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+6
-5
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/controller/JyjcOpeningApplicationController.java
View file @
f8f3c3d4
...
...
@@ -205,8 +205,8 @@ public class JyjcOpeningApplicationController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"撤回业务开通申请"
,
notes
=
"撤回业务开通申请"
)
@GetMapping
(
value
=
"/rollBackFlow"
)
public
void
overflow
(
@RequestParam
(
"
instanceId"
)
String
instanceId
)
{
jyjcOpeningApplicationServiceImpl
.
stopFlow
(
instanceId
);
public
void
overflow
(
@RequestParam
(
"
sequenceNbr"
)
String
sequenceNbr
)
{
jyjcOpeningApplicationServiceImpl
.
stopFlow
(
sequenceNbr
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
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/JyjcOpeningApplicationServiceImpl.java
View file @
f8f3c3d4
...
...
@@ -193,9 +193,9 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
public
Page
<
JyjcOpeningApplicationModel
>
querypageForCompany
(
Page
<
JyjcOpeningApplication
>
page
,
JyjcOpeningApplicationRequstDto
jyjcOpeningApplicationRequstDto
)
{
//根据申请单中的单位信息对于列表数据进行过滤
CompanyBo
companyBo
=
commonserviceImpl
.
getReginParamsOfCurrentUser
().
getCompany
();
if
(
companyBo
.
getLevel
().
equals
(
"company"
))
{
//
if (companyBo.getLevel().equals("company")) {
jyjcOpeningApplicationRequstDto
.
setUnitCode
(
companyBo
.
getCompanyCode
());
}
//
}
String
applyStartTime
=
""
;
String
applyEndTime
=
""
;
...
...
@@ -358,14 +358,15 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
/**
* 撤回流程办理单
*/
public
void
stopFlow
(
String
instanceId
)
{
public
void
stopFlow
(
String
sequenceNbr
)
{
JyjcOpeningApplication
jyjcOpeningApplication
=
jyjcOpeningApplicationMapper
.
selectById
(
sequenceNbr
);
try
{
//撤回流程
JSONObject
jsonObject
=
workflowFeignClient
.
rollBack
(
instanceId
);
JSONObject
jsonObject
=
workflowFeignClient
.
rollBack
(
jyjcOpeningApplication
.
getWorkflowProstanceId
()
);
if
(
ObjectUtils
.
isEmpty
(
jsonObject
))
{
}
updateModelByInstanceId
(
instanceId
,
FlowStatusEnum
.
ROLLBACK
.
getCode
()
+
""
);
updateModelByInstanceId
(
jyjcOpeningApplication
.
getWorkflowProstanceId
()
,
FlowStatusEnum
.
ROLLBACK
.
getCode
()
+
""
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
...
...
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