|
@@ -13,7 +13,6 @@ import thyyxxk.webserver.entity.markmtfees.UploadMtFeeParam;
|
|
|
import thyyxxk.webserver.entity.medicalinsurance.outpatient.MzPatientInfo;
|
|
|
import thyyxxk.webserver.entity.medicalinsurance.setlinfo.FundDetail;
|
|
|
import thyyxxk.webserver.service.medicalinsurance.SiMzService;
|
|
|
-import thyyxxk.webserver.utils.FilterUtil;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
@@ -85,8 +84,16 @@ public class MarkMtFeesController {
|
|
|
ResultVo<FundDetail> result,
|
|
|
String logText, boolean settlement) {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
+ if (null == result) {
|
|
|
+ map.put("code", -1);
|
|
|
+ map.put("msg", "医保中心网络异常!");
|
|
|
+ return map;
|
|
|
+ }
|
|
|
if (result.getCode() != ExceptionEnum.SUCCESS.getCode()) {
|
|
|
map.put("code", -1);
|
|
|
+ if (null == result.getMessage()) {
|
|
|
+ result.setMessage("医保中心网络异常!");
|
|
|
+ }
|
|
|
map.put("msg", result.getMessage());
|
|
|
return map;
|
|
|
}
|