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

This commit is contained in:
wxyclub
2024-01-02 14:40:03 +08:00
parent 88344efad2
commit acd36ae6c3
@@ -272,6 +272,16 @@ 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;
}