|
@@ -1,5 +1,6 @@
|
|
|
package thyyxxk.webserver.service.inpatient;
|
|
|
|
|
|
+import cn.hutool.core.util.StrUtil;
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -253,9 +254,10 @@ public class DismissService {
|
|
|
for (IllegalFee drug : refundDrugs) {
|
|
|
if (drug.getPageNoTy().equals("-1")) {
|
|
|
drug.setPageNoTy("未提交");
|
|
|
- drug.setRemark("请护士提交退药单。");
|
|
|
+ drug.setRemark(StrUtil.format("有【{}】,退药单未生成,请去入院登记的【生成退药单】中生成退药单。",
|
|
|
+ DateUtil.formatDatetime(drug.getYpChargeDate(), "yyyy-MM-dd HH:mm")));
|
|
|
} else {
|
|
|
- drug.setRemark("请联系药房处理。");
|
|
|
+ drug.setRemark("请联系药房处理,如果需要退费请药房点击同意,不需要退费请点击拒绝。");
|
|
|
}
|
|
|
}
|
|
|
return ResultVoUtil.fail(ExceptionEnum.EXIST_UNHANDLED_REFUND_DRUG, refundDrugs);
|
|
@@ -279,7 +281,7 @@ public class DismissService {
|
|
|
exception.setMessage("此患者有未结账的费用。");
|
|
|
throw new BizException(exception);
|
|
|
}
|
|
|
- Date begntime = getBegntime(patNo, times, ledgerSn,"zy_actpatient");
|
|
|
+ Date begntime = getBegntime(patNo, times, ledgerSn, "zy_actpatient");
|
|
|
dismissFeeAnalyse(patNo, times, ledgerSn, begntime, tmpendtime);
|
|
|
|
|
|
BigDecimal feeOffset = dao.getFeeOffset(patNo, times, ledgerSn);
|