|
@@ -1699,35 +1699,35 @@ public class MedicalViewApiController {
|
|
|
}
|
|
|
List<Map<String, Object>> removeList = new ArrayList<>();
|
|
|
for (Map map : list) {
|
|
|
- BigDecimal fee = BigDecimal.ZERO;
|
|
|
+ //BigDecimal fee = BigDecimal.ZERO;
|
|
|
String chargeType = (String) map.get("chargeType");
|
|
|
if (StringUtils.isNotBlank(chargeType)) {
|
|
|
MzyZdChargeType mzyZdChargeType = mzyZdChargeTypeService.queryByCode(chargeType);
|
|
|
if (mzyZdChargeType != null) {
|
|
|
map.put("chargeType", mzyZdChargeType.getName());
|
|
|
- if (mzyZdChargeType.getReqFee() == null) {
|
|
|
- mzyZdChargeType.setReqFee(BigDecimal.ZERO);
|
|
|
- }
|
|
|
- if (mzyZdChargeType.getClinicFee() == null) {
|
|
|
- mzyZdChargeType.setClinicFee(BigDecimal.ZERO);
|
|
|
- }
|
|
|
- if (mzyZdChargeType.getOthFee() == null) {
|
|
|
- mzyZdChargeType.setOthFee(BigDecimal.ZERO);
|
|
|
- }
|
|
|
- fee = fee.add(mzyZdChargeType.getReqFee()).add(mzyZdChargeType.getClinicFee()).add(mzyZdChargeType.getOthFee());
|
|
|
+// if (mzyZdChargeType.getReqFee() == null) {
|
|
|
+// mzyZdChargeType.setReqFee(BigDecimal.ZERO);
|
|
|
+// }
|
|
|
+// if (mzyZdChargeType.getClinicFee() == null) {
|
|
|
+// mzyZdChargeType.setClinicFee(BigDecimal.ZERO);
|
|
|
+// }
|
|
|
+// if (mzyZdChargeType.getOthFee() == null) {
|
|
|
+// mzyZdChargeType.setOthFee(BigDecimal.ZERO);
|
|
|
+// }
|
|
|
+ // fee = fee.add(mzyZdChargeType.getReqFee()).add(mzyZdChargeType.getClinicFee()).add(mzyZdChargeType.getOthFee());
|
|
|
}
|
|
|
}
|
|
|
- BigDecimal checkFee = (BigDecimal) map.get("checkFee");
|
|
|
- if (checkFee == null) {
|
|
|
- checkFee = BigDecimal.ZERO;
|
|
|
- }
|
|
|
- fee = fee.add(checkFee);
|
|
|
+// BigDecimal checkFee = (BigDecimal) map.get("checkFee");
|
|
|
+// if (checkFee == null) {
|
|
|
+// checkFee = BigDecimal.ZERO;
|
|
|
+// }
|
|
|
+ // fee = fee.add(checkFee);
|
|
|
// //周末挂号费为0,不收挂号费
|
|
|
// if(DateUtil.isWeekend(requestDayD)){
|
|
|
// fee=BigDecimal.ZERO;
|
|
|
// }
|
|
|
- map.put("fee", fee);
|
|
|
- map.remove("checkFee");
|
|
|
+ // map.put("fee", fee);
|
|
|
+ // map.remove("checkFee");
|
|
|
String doctorCode = (String) map.get("doctorCode");
|
|
|
//核酸需要简易门诊
|
|
|
if (StringUtils.isBlank(doctorCode) && !Constants.JY_EXEC_CODE.equals(unitCode)) {
|