|
@@ -43,7 +43,6 @@ public class SiMzService {
|
|
|
private final SiMzSrvc mzSrvc;
|
|
|
private final SiQueryService qryService;
|
|
|
private static final String RESULT_CODE = "infcode";
|
|
|
- private static final String ERROR_MESSAGE = "err_msg";
|
|
|
private static final String OUTPUT = "output";
|
|
|
@Value("${si-mz-fee-url}")
|
|
|
private String siMzFeeUrl;
|
|
@@ -474,4 +473,18 @@ public class SiMzService {
|
|
|
public ResultVo<Integer> isPatientDuringSiSettle(String patientId) {
|
|
|
return mzSrvc.isPatientDuringSiSettle(siMzFeeUrl, patientId);
|
|
|
}
|
|
|
+
|
|
|
+ public Map<String, Object> modifyFundPayAmount(ModifyFundAmt amt) {
|
|
|
+ Integer res = dao.modifyFundAmt(amt);
|
|
|
+ Map<String, Object> resultMap = new HashMap<>();
|
|
|
+ if (null != res && res > 0) {
|
|
|
+ resultMap.put("code", 0);
|
|
|
+ resultMap.put("msg", "更新成功,有" + res + "条数据受影响。");
|
|
|
+ } else {
|
|
|
+ resultMap.put("code", -1);
|
|
|
+ resultMap.put("msg", "更新失败,有0条数据受影响。");
|
|
|
+ }
|
|
|
+ log.info("THMZ修改报销数据:\n参数:{}\n结果:{}", amt, resultMap);
|
|
|
+ return resultMap;
|
|
|
+ }
|
|
|
}
|