|
@@ -72,18 +72,19 @@ public class MarkMtFeesController {
|
|
|
mz.setPatNo(param.getPatientId());
|
|
|
mz.setTimes(param.getTimes());
|
|
|
mz.setStaffId(param.getStaffId());
|
|
|
- ResultVo<String> result = mzService.revokeOutpatientSettlement(mz);
|
|
|
- Map<String, Object> map = new HashMap<>();
|
|
|
- if (result.getCode() == ExceptionEnum.SUCCESS.getCode()) {
|
|
|
- map.put("code", 0);
|
|
|
- map.put("msg", result.getData());
|
|
|
- mzService.updateMzSaved(param.getPatientId(), param.getTimes(), 0);
|
|
|
- } else {
|
|
|
- map.put("code", -1);
|
|
|
- map.put("msg", result.getMessage());
|
|
|
- }
|
|
|
- log.info("窗口取消门特结算:参数:{},结果:{}", param, map);
|
|
|
- return map;
|
|
|
+ ResultVo<FundDetail> result = mzService.revokeOutpatientSettlement(mz);
|
|
|
+ return getStringObjectMap(param, result, "收费窗口撤销门特结算", true);
|
|
|
+// Map<String, Object> map = new HashMap<>();
|
|
|
+// if (result.getCode() == ExceptionEnum.SUCCESS.getCode()) {
|
|
|
+// map.put("code", 0);
|
|
|
+// map.put("msg", result.getData());
|
|
|
+// mzService.updateMzSaved(param.getPatientId(), param.getTimes(), 0);
|
|
|
+// } else {
|
|
|
+// map.put("code", -1);
|
|
|
+// map.put("msg", result.getMessage());
|
|
|
+// }
|
|
|
+// log.info("窗口取消门特结算:参数:{},结果:{}", param, map);
|
|
|
+// return map;
|
|
|
}
|
|
|
|
|
|
private Map<String, Object> getStringObjectMap(@RequestBody UploadMtFeeParam param,
|