Commit 3e572a4b by jiangxuelei

Update InzWorkflowServiceImpl.java

parent a69b4ff0
......@@ -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("获取当前登录用户失败!");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment