Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
c6d6c9ed
Commit
c6d6c9ed
authored
May 20, 2019
by
ken-y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix report approve----Ken
parent
81132176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
ApprovalService.java
...va/pwc/taxtech/atms/vat/service/impl/ApprovalService.java
+3
-5
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ApprovalService.java
View file @
c6d6c9ed
package
pwc
.
taxtech
.
atms
.
vat
.
service
.
impl
;
import
java.util.Date
;
import
org.activiti.engine.HistoryService
;
import
org.activiti.engine.RepositoryService
;
import
org.activiti.engine.RuntimeService
;
...
...
@@ -222,7 +220,7 @@ public class ApprovalService {
pa
.
setId
(
approve
.
getId
());
switch
(
decide
)
{
case
Constant
.
APPROVAL_AGREED
:
pa
.
setStatus
(
Constant
.
APPROVAL_
AGRE
ED
);
pa
.
setStatus
(
Constant
.
APPROVAL_
COMMITT
ED
);
map
.
put
(
"decide"
,
1
);
break
;
case
Constant
.
APPROVAL_DISAGREED
:
...
...
@@ -261,13 +259,13 @@ public class ApprovalService {
tasks1
=
taskService
.
createTaskQuery
().
taskName
(
Constant
.
ROLE_TAX_BP
).
processInstanceId
(
instanceId
).
list
();
if
(
tasks1
!=
null
&&
tasks1
.
size
()
==
1
)
{
r
epositoryService
.
deleteDeployment
(
tasks1
.
get
(
0
).
getId
()
);
r
untimeService
.
deleteProcessInstance
(
tasks1
.
get
(
0
).
getProcessInstanceId
(),
comment
);
}
}
else
{
tasks1
=
taskService
.
createTaskQuery
().
taskName
(
Constant
.
ROLE_COMPLIANCE_IA
).
processInstanceId
(
instanceId
).
list
();
if
(
tasks1
!=
null
&&
tasks1
.
size
()
==
1
)
{
r
epositoryService
.
deleteDeployment
(
tasks1
.
get
(
0
).
getId
()
);
r
untimeService
.
deleteProcessInstance
(
tasks1
.
get
(
0
).
getProcessInstanceId
(),
comment
);
}
}
}
...
...
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