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
3e572a4b
Commit
3e572a4b
authored
Apr 19, 2021
by
jiangxuelei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update InzWorkflowServiceImpl.java
parent
a69b4ff0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
InzWorkflowServiceImpl.java
...inz/workflow/internal/service/InzWorkflowServiceImpl.java
+6
-6
No files found.
backend/inz.workflow/src/main/java/com/beecode/inz/workflow/internal/service/InzWorkflowServiceImpl.java
View file @
3e572a4b
...
...
@@ -249,12 +249,12 @@ public class InzWorkflowServiceImpl implements InzWorkflowService{
KObject
currentLoginStaff
=
null
;
try
{
//
currentLoginStaff = bapContext.getCurrentStaff();
List
<
KObject
>
staffs
=
staffService
.
getByUsername
(
"c_user_default"
);
if
(
null
==
staffs
||
staffs
.
size
()<=
0
){
throw
new
Exception
();
}
currentLoginStaff
=
staffs
.
get
(
0
);
currentLoginStaff
=
bapContext
.
getCurrentStaff
();
//
List<KObject> staffs = staffService.getByUsername("c_user_default");
//
if(null == staffs || staffs.size()<=0){
//
throw new Exception();
//
}
//
currentLoginStaff = staffs.get(0);
}
catch
(
Exception
e
)
{
throw
new
WorkflowRuntimeException
(
"获取当前登录用户失败!"
);
}
...
...
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