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
89a09ed6
Commit
89a09ed6
authored
Apr 20, 2021
by
王衍超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善代码;
parent
e71acbb5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
SalesPlanTempProcessor.java
...om/xyst/dinas/sales/processor/SalesPlanTempProcessor.java
+12
-0
No files found.
backend/xyst.dinas.sales/src/main/java/com/xyst/dinas/sales/processor/SalesPlanTempProcessor.java
View file @
89a09ed6
...
...
@@ -6,6 +6,7 @@ import java.util.UUID;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.Assert
;
import
com.beecode.bap.workflow.core.BizProcessState
;
import
com.beecode.bcp.type.KObject
;
import
com.beecode.inz.query.entity.RowData
;
import
com.beecode.inz.query.processor.DataProcessor
;
...
...
@@ -50,6 +51,17 @@ public class SalesPlanTempProcessor implements DataProcessor {
UUID
regionalCompanyId
=
UUID
.
fromString
(
row
.
get
(
"regionalCompany.id"
).
toString
());
KObject
regionalCompany
=
orgService
.
load
(
regionalCompanyId
);
row
.
put
(
"regionalCompanyName"
,
regionalCompany
.
getString
(
"name"
));
String
approveStateName
=
null
;
int
approveState
=
Integer
.
valueOf
(
row
.
get
(
"approveState"
).
toString
());
if
(
BizProcessState
.
IN_PROCESS
.
getValue
()
==
approveState
)
{
approveStateName
=
"待审核"
;
}
else
if
(
BizProcessState
.
DONE_WITH_AGREE
.
getValue
()
==
approveState
)
{
approveStateName
=
"已通过"
;
}
else
if
(
BizProcessState
.
DONE_WITH_REJECT
.
getValue
()
==
approveState
)
{
approveStateName
=
"已驳回"
;
}
row
.
put
(
"approveStateName"
,
approveStateName
);
}
}
}
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