|
@@ -1348,16 +1348,17 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
if (Constants.TC.equals(mzChargeDetail.getBillItemCode()) || Constants.SSWRF.equals(mzChargeDetail.getBillItemCode())) {
|
|
|
continue;
|
|
|
}
|
|
|
- if (supplyChargeItemCodeSet == null) {
|
|
|
- List<MzZdSupplyCharge> mzZdSupplyChargeList = mzZdSupplyChargeService.queryMzZdSupplyChargeByCodeList(mzZdSupplyTypeMapper.selectMzZdSupplyTypeCodeInUsed());
|
|
|
- if (mzZdSupplyChargeList != null && mzZdSupplyChargeList.size() > 0) {
|
|
|
- supplyChargeItemCodeSet = mzZdSupplyChargeList.stream().map(s -> s.getChargeCode()).collect(Collectors.toSet());
|
|
|
- }
|
|
|
- }
|
|
|
- //是给药方式产生的诊疗项目,不添加进构造的处方
|
|
|
- if (supplyChargeItemCodeSet != null && supplyChargeItemCodeSet.contains(mzChargeDetail.getChargeItemCode())) {
|
|
|
- continue;
|
|
|
- }
|
|
|
+ //暂时不做限制,太多的给药方式是诊疗
|
|
|
+// if (supplyChargeItemCodeSet == null) {
|
|
|
+// List<MzZdSupplyCharge> mzZdSupplyChargeList = mzZdSupplyChargeService.queryMzZdSupplyChargeByCodeList(mzZdSupplyTypeMapper.selectMzZdSupplyTypeCodeInUsed());
|
|
|
+// if (mzZdSupplyChargeList != null && mzZdSupplyChargeList.size() > 0) {
|
|
|
+// supplyChargeItemCodeSet = mzZdSupplyChargeList.stream().map(s -> s.getChargeCode()).collect(Collectors.toSet());
|
|
|
+// }
|
|
|
+// }
|
|
|
+// //是给药方式产生的诊疗项目,不添加进构造的处方
|
|
|
+// if (supplyChargeItemCodeSet != null && supplyChargeItemCodeSet.contains(mzChargeDetail.getChargeItemCode())) {
|
|
|
+// continue;
|
|
|
+// }
|
|
|
if (zlPrescription.size() == 0) {
|
|
|
Map<String, Object> zlMap = new HashMap<>();
|
|
|
zlMap.put("amount", BigDecimal.ZERO);
|