Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
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
王衍超
cloud-fb
Commits
1ad2bf1e
Commit
1ad2bf1e
authored
Apr 15, 2021
by
王衍超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善提交工作流逻辑,合同;
parent
6bb4d890
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
ContractServiceImpl.java
.../dinas/contract/internal/service/ContractServiceImpl.java
+7
-5
No files found.
backend/xyst.dinas.contract/src/main/java/com/xyst/dinas/contract/internal/service/ContractServiceImpl.java
View file @
1ad2bf1e
...
...
@@ -122,9 +122,10 @@ public class ContractServiceImpl implements ContractService {
KObject
kobject
=
contractDao
.
load
(
id
);
if
(
needSubmitFlow
(
ContractConstant
.
BIZ_TYPE
,
kobject
,
"SUBMIT"
))
{
inzWorkflowService
.
startWorkflow
(
"SUBMIT"
,
ContractConstant
.
BIZ_TYPE
,
kobject
.
getString
(
ContractConstant
.
CONTRACT_NAME
),
kobject
);
}
else
{
afterApprovedForInsert
(
kobject
);
}
}
// else{
// afterApprovedForInsert(kobject);
// }
}
@Override
...
...
@@ -133,9 +134,10 @@ public class ContractServiceImpl implements ContractService {
KObject
kobject
=
contractDao
.
load
(
id
);
if
(
needSubmitFlow
(
ContractConstant
.
BIZ_TYPE
,
kobject
,
"CHANGE"
))
{
inzWorkflowService
.
startWorkflow
(
"SUBMIT"
,
ContractConstant
.
BIZ_TYPE_UPDATE
,
kobject
.
getString
(
ContractConstant
.
CONTRACT_NAME
),
kobject
);
}
else
{
afterApprovedForUpdate
(
kobject
);
}
// else{
// afterApprovedForUpdate(kobject);
// }
}
/**
...
...
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