fix: 计划管控取消流程代办为消除问题修改

This commit is contained in:
wxyclub
2024-01-02 18:04:12 +08:00
parent acd36ae6c3
commit 5e54e8769d
@@ -272,18 +272,17 @@ public class BusProcessNewServiceImpl extends ServiceImpl<BusProcessNewMapper, B
if (StringUtils.isBlank(esIdMesg)) {
esIdMesg = jsonObject.getString("nowEsId");
}
// 如果依然是null, 可能是表单嵌套问题,需要再次解析
JSONObject form = jsonObject.getJSONObject("form");
if (form!= null) {
esIdMesg = form.getString("esId");
if (StringUtils.isBlank(esIdMesg)) {
esIdMesg = form.getString("nowEsId");
}
} else {
return false;
}
if (StringUtils.isBlank(esIdMesg)) {
return false;
// 如果依然是null, 可能是表单嵌套问题,需要再次解析
JSONObject form = jsonObject.getJSONObject("form");
if (form!= null) {
esIdMesg = form.getString("esId");
if (StringUtils.isBlank(esIdMesg)) {
esIdMesg = form.getString("nowEsId");
}
} else {
return false;
}
}
return esIdMesg.equals(esId);
}