|
@@ -635,6 +635,9 @@ public class SiQueryService {
|
|
|
if (result.getIntValue(RESULT_CODE) == 0) {
|
|
|
JSONObject output = result.getJSONObject(OUTPUT);
|
|
|
JSONArray details = output.getJSONArray("feedetail");
|
|
|
+ if (null == details || details.size() == 0) {
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.NO_DATA_EXIST, "没有查询到此患者的慢特病备案信息。");
|
|
|
+ }
|
|
|
List<SpcChrDiseAcct> list = new ArrayList<>();
|
|
|
Date now = new Date();
|
|
|
for (int i = 0; i < details.size(); i++) {
|