|
|
@@ -534,11 +534,11 @@ public class IscsInitApiImpl implements IscsInitApi {
|
|
|
} else {
|
|
|
ObjectNode dataNode = (ObjectNode) nodeObj.get("data");
|
|
|
// 替换节点负责人,处理null情况
|
|
|
- String workerUserIdText = nodeObj.get("workerUserId").asText();
|
|
|
+ String workerUserIdText = dataNode.get("workerUserId").asText();
|
|
|
if (workerUserId != null && StringUtils.isNotBlank(workerUserIdText)) {
|
|
|
dataNode.put("workerUserId", workerUserId);
|
|
|
} else {
|
|
|
- dataNode.putNull("workerUserId"); // 若为null则设为JSON null
|
|
|
+ // dataNode.putNull("workerUserId"); // 若为null则设为JSON null
|
|
|
}
|
|
|
}
|
|
|
|