修改读取null的处理

This commit is contained in:
daihh
2023-08-01 15:51:01 +08:00
parent 00a9eb64a5
commit 95d29ef9a2

View File

@@ -33,7 +33,7 @@ public class OutSideDataServiceImpl implements IOutSideDataService {
private String getNodeText(JsonNode jn) { private String getNodeText(JsonNode jn) {
if(jn!=null) { if(jn!=null) {
return jn.asText(); return jn.requireNonNull().asText();
}else { }else {
return ""; return "";
} }