mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-08 02:16:49 +08:00
修改读取null的处理
This commit is contained in:
@@ -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 "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user