北交所接口
This commit is contained in:
+2
@@ -419,11 +419,13 @@ public class ComprehensiveQueryController {
|
|||||||
if (facilitys != null) {
|
if (facilitys != null) {
|
||||||
List<String> hospitalList = facilitys.getHospital();
|
List<String> hospitalList = facilitys.getHospital();
|
||||||
List<String> hospitals = new ArrayList<String>();
|
List<String> hospitals = new ArrayList<String>();
|
||||||
|
if (hospitalList != null && !hospitalList.isEmpty()) {
|
||||||
for (String hospital : hospitalList) {
|
for (String hospital : hospitalList) {
|
||||||
if (hospital.endsWith("医院")) {
|
if (hospital.endsWith("医院")) {
|
||||||
hospitals.add(hospital);
|
hospitals.add(hospital);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
facilitys.setHospital(hospitals);
|
facilitys.setHospital(hospitals);
|
||||||
} else {
|
} else {
|
||||||
facilitys = new DistrictFacilitys();
|
facilitys = new DistrictFacilitys();
|
||||||
|
|||||||
Reference in New Issue
Block a user