yaoq vor 2 Jahren
Ursprung
Commit
64048ee2c3
2 geänderte Dateien mit 3 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

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


Laden…
Abbrechen
Speichern