mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-07 09:56:47 +08:00
修改读取null的处理
This commit is contained in:
@@ -33,7 +33,7 @@ public class OutSideDataServiceImpl implements IOutSideDataService {
|
||||
|
||||
private String getNodeText(JsonNode jn) {
|
||||
if(jn!=null) {
|
||||
return jn.asText();
|
||||
return jn.requireNonNull().asText();
|
||||
}else {
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user