|
@@ -347,7 +347,9 @@ public class MappingConfigFacade extends MappingConfigServiceImpl {
|
|
|
}
|
|
|
RespDTO<List<MappingConfigWrapper>> respDTO = cdssClient.importExcel_remote(file, hospitalId, type, userId);
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
- exportExcel(response, respDTO.data, type, "非标准词", 1);
|
|
|
+ if (ListUtil.isNotEmpty(respDTO.data)) {
|
|
|
+ exportExcel(response, respDTO.data, type, "非标准词", 1);
|
|
|
+ }
|
|
|
} else {
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, respDTO.msg);
|
|
|
}
|