|
@@ -322,7 +322,6 @@ public class SiZyService {
|
|
|
balance = "0";
|
|
|
}
|
|
|
patientDao.updateZyActPatientBalance(p.getInpatientNo(), balance);
|
|
|
- dao.solidifyPatFees(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
|
return "患者【" + p.getName() + "】院内总费用与医保中心总费用一致,医保报销金额为:¥ " + fundPay + "。";
|
|
|
}
|
|
|
throw new BizException(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|
|
@@ -336,11 +335,6 @@ public class SiZyService {
|
|
|
JSONObject input = exec.makeTradeHeaderWithInsureArea(SiFunction.REVOKE_HOSPITALIZATION_FEE_DETAILS, siPatInfo.getInsuplcAdmdvs());
|
|
|
JSONArray data = new JSONArray();
|
|
|
if (ListUtil.isBlank(p.getDetailSns())) {
|
|
|
- p.setDetailSns(queryDao.getUnsolidSn(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn()));
|
|
|
- }
|
|
|
- Integer dbSolidSize = queryDao.getDbSolidSize(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
|
- Integer dbUploadedSize = queryDao.getDbUploadedSize(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
|
- if (ListUtil.isBlank(p.getDetailSns()) || Objects.equals(dbSolidSize, dbUploadedSize)) {
|
|
|
p.setDetailSns(null);
|
|
|
JSONObject item = new JSONObject();
|
|
|
item.put("feedetl_sn", "0000");
|
|
@@ -371,7 +365,7 @@ public class SiZyService {
|
|
|
wrapper.eq("pat_no", p.getInpatientNo());
|
|
|
wrapper.eq("times", p.getAdmissTimes());
|
|
|
wrapper.eq("ledger_sn", p.getLedgerSn());
|
|
|
- if (null == p.getDetailSns() || p.getDetailSns().isEmpty()) {
|
|
|
+ if (ListUtil.isBlank(p.getDetailSns())) {
|
|
|
dao.revokeAllUploadFee(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
|
dao.resetFundpayAmt(p.getInpatientNo(), p.getAdmissTimes(), p.getLedgerSn());
|
|
|
chrgtmpdao.delete(wrapper);
|