13862 选择第二个审批 报错

2024年2月1日V1.0.53
liujun 2024-01-27 15:57:51 +08:00
parent 9ea2651ed9
commit 0f331c3972
1 changed files with 5 additions and 4 deletions

View File

@ -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);