Browse Source

登录

master
yaoq 2 years ago
parent
commit
64048ee2c3
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/flow/FlowInstance.java
  2. +2
    -0
      smtweb-framework/core/src/main/java/cc/smtweb/framework/core/session/UserSession.java

+ 1
- 1
smtweb-framework/bpm/src/main/java/cc/smtweb/system/bpm/web/engine/flow/FlowInstance.java View File

@@ -89,7 +89,7 @@ public class FlowInstance {
* @throws Exception
*/
public void create(int bill_type) throws Exception {
Party loginParty = PartyCache.getInstance().get(us.getCompanyId());
Party loginParty = PartyCache.getInstance().get(us.getPartyId());
if (EntityHelper.isEmpty(loginParty)) {
throw new BizException("当前登录人员管理单位信息为空,请检查后保存!");
}


+ 2
- 0
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/session/UserSession.java View File

@@ -30,6 +30,8 @@ public class UserSession implements Serializable {
private long userId;
// 当前机构ID
private long partyId;
// 当前部门
private long deptId;
// 站点ID
private long siteId;
// 终端类型


Loading…
Cancel
Save