监管端新增代办提示
parent
5c2fa16618
commit
d3e3cec01e
|
@ -63,10 +63,14 @@ public class GuFenCharge extends NodeSwitchComponent {
|
|||
condition.put("XGF_USER_ID", flows.getString("FLOWS_ID"));
|
||||
PageData entity = xgfUserMapper.findById(condition);
|
||||
|
||||
condition.clear();
|
||||
condition.put("XGF_USER_DETAILS_ID", flows.getString("FLOWS_ID"));
|
||||
PageData userInfo = xgfUserDetailsMapper.findById(condition);
|
||||
|
||||
// 如果不是当前流程,进入下一流程判断
|
||||
if (!"0".equals(info.getIterator())) {
|
||||
// 根据是否有委托书判断是否走委托流程
|
||||
if (entity.get("ATTORNEY") != null && StringUtils.isNotBlank(entity.getString("ATTORNEY"))) {
|
||||
if (userInfo.get("ATTORNEY") != null && StringUtils.isNotBlank(userInfo.getString("ATTORNEY"))) {
|
||||
return "GuFenWeiTuo";
|
||||
}
|
||||
return "GuFenSupervise";
|
||||
|
@ -93,9 +97,6 @@ public class GuFenCharge extends NodeSwitchComponent {
|
|||
}
|
||||
// created by liu jun 2024-02-04 如果有委托书则保存委托书
|
||||
if (StringUtils.isNotBlank(info.getATTORNEY())) {
|
||||
condition.clear();
|
||||
condition.put("XGF_USER_DETAILS_ID", flows.getString("FLOWS_ID"));
|
||||
PageData userInfo = xgfUserDetailsMapper.findById(condition);
|
||||
userInfo.put("ATTORNEY", info.getAPPOINT_ANNEX());
|
||||
xgfUserDetailsMapper.edit(userInfo);
|
||||
}
|
||||
|
@ -107,7 +108,7 @@ public class GuFenCharge extends NodeSwitchComponent {
|
|||
// 保存操作记录
|
||||
xgfUserService.saveLog(info, info.getSTATUS(), "0");
|
||||
|
||||
if (entity.get("ATTORNEY") != null && StringUtils.isNotBlank(entity.getString("ATTORNEY"))) {
|
||||
if (StringUtils.isNotBlank(info.getATTORNEY())) {
|
||||
return "GuFenWeiTuo";
|
||||
}
|
||||
return "GuFenSupervise";
|
||||
|
|
Loading…
Reference in New Issue