|
@@ -279,6 +279,7 @@ public class SiZyService {
|
|
balance = "0";
|
|
balance = "0";
|
|
}
|
|
}
|
|
patientDao.updateZyActPatientBalance(p.getInpatientNo(), balance);
|
|
patientDao.updateZyActPatientBalance(p.getInpatientNo(), balance);
|
|
|
|
+ dao.solidifyPatFees(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
return "患者【" + p.getName() + "】院内总费用与医保中心总费用一致,医保报销金额为:¥ " + fundPay + "。";
|
|
return "患者【" + p.getName() + "】院内总费用与医保中心总费用一致,医保报销金额为:¥ " + fundPay + "。";
|
|
}
|
|
}
|
|
throw new BizException(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|
|
throw new BizException(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|
|
@@ -291,7 +292,10 @@ public class SiZyService {
|
|
}
|
|
}
|
|
JSONObject input = exec.makeTradeHeaderWithInsureArea(SiFunction.REVOKE_HOSPITALIZATION_FEE_DETAILS, siPatInfo.getInsuplcAdmdvs());
|
|
JSONObject input = exec.makeTradeHeaderWithInsureArea(SiFunction.REVOKE_HOSPITALIZATION_FEE_DETAILS, siPatInfo.getInsuplcAdmdvs());
|
|
JSONArray data = new JSONArray();
|
|
JSONArray data = new JSONArray();
|
|
- if (null == p.getDetailSns() || p.getDetailSns().isEmpty()) {
|
|
|
|
|
|
+ if (ListUtil.isBlank(p.getDetailSns())) {
|
|
|
|
+ p.setDetailSns(queryDao.getUnsolidSn(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn()));
|
|
|
|
+ }
|
|
|
|
+ if (ListUtil.isBlank(p.getDetailSns())) {
|
|
JSONObject item = new JSONObject();
|
|
JSONObject item = new JSONObject();
|
|
item.put("feedetl_sn", "0000");
|
|
item.put("feedetl_sn", "0000");
|
|
item.put("mdtrt_id", siPatInfo.getMdtrtId());
|
|
item.put("mdtrt_id", siPatInfo.getMdtrtId());
|