diff --git a/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java b/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java index 706fa988..634723d2 100644 --- a/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java +++ b/src/main/java/com/zcloud/service/xgf/impl/XgfUserServiceImpl.java @@ -379,8 +379,9 @@ public class XgfUserServiceImpl implements XgfUserService { flows.put("APPOINT_ONE_DEPARTMENT_NAME", info.getString("APPOINT_DEPARTMENT_NAME")); flows.put("APPOINT_ONE_USER_ID", info.getString("APPOINT_USER_ID")); flows.put("APPOINT_ONE_USER_NAME", info.getString("APPOINT_USER_NAME")); - flows.put("APPOINT_ONE_CORP_ID", flows.getString("APPOINT_ZERO_CORP_ID")); - flows.put("APPOINT_ONE_CORP_NAME", flows.getString("APPOINT_ZERO_CORP_NAME")); + // TODO 企业端审批人 + flows.put("APPOINT_ONE_CORP_ID", ""); + flows.put("APPOINT_ONE_CORP_NAME", ""); flows.put("FLOWS_STEP", 1); xgfFlowsMapper.edit(flows); condition.clear(); @@ -532,13 +533,13 @@ public class XgfUserServiceImpl implements XgfUserService { } else { // TODO 根据是否委托辖区单位进行处理(前端传回来) switch (flows.getString("FLOWS_TYPE")) { - case "0":// 由股份端审批 + case "1":// 由股份端审批 entity.put("CHECK_STATUS", 2); entity.put("VALID_FLAG", "1"); entity.put("CHECK_STEP", Integer.parseInt(entity.get("CHECK_STEP").toString()) + 1); xgfUserMapper.edit(entity); return "1"; - case "1":// 辖区单位审批,需要指定审批人 + case "0":// 辖区单位审批,需要指定审批人 entity.put("CHECK_STEP", Integer.parseInt(entity.get("CHECK_STEP").toString()) + 1); xgfUserMapper.edit(entity);