Commit bdbf6220dc38af6626414ce8baea2f6920bb2d49
1 parent
602b7ea81c
Exists in
master
and in
6 other branches
统计
Showing 1 changed file with 6 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientSyncMysqlFacade.java
View file @
bdbf622
... | ... | @@ -3318,6 +3318,12 @@ |
3318 | 3318 | |
3319 | 3319 | List<Map<String,String>> hospitalIds = getHospitalIds( provinceId, cityId, areaId, |
3320 | 3320 | streetId); |
3321 | + | |
3322 | + if(!CollectionUtils.isNotEmpty(hospitalIds)) | |
3323 | + { | |
3324 | + return new BaseObjectResponse().setErrormsg("成功").setErrorcode(ErrorCodeConstants.SUCCESS).setData(data); | |
3325 | + } | |
3326 | + | |
3321 | 3327 | for (Map<String,String> map : hospitalIds) { |
3322 | 3328 | Map<String,Object> streetMap=new HashMap<>(); |
3323 | 3329 | //医院数据 |