|
@@ -82,7 +82,7 @@ public class MenZhengXiangMuServer {
|
|
|
String key = item.getPatientId() + item.getTimes() + item.getReceiptNo() + item.getOrderNo() + item.getChargeItemCode();
|
|
|
treeMap.put(key, item);
|
|
|
if (BigUtils.bigDaYu(item.getUnitPrice(), BigDecimal.ZERO)) {
|
|
|
- item.setChargeFee(item.getUnitPrice().multiply(item.getQuantity()).multiply(item.getDrugWin()));
|
|
|
+ item.setChargeFeeNew(item.getUnitPrice().multiply(item.getQuantity()).multiply(item.getDrugWin()));
|
|
|
}
|
|
|
if ("TC".equals(item.getBillItemCode())) {
|
|
|
item.setChargeName(item.getTcName() + "(套餐)");
|
|
@@ -97,10 +97,10 @@ public class MenZhengXiangMuServer {
|
|
|
if (template.getList() == null) {
|
|
|
template.setList(new ArrayList<>());
|
|
|
}
|
|
|
- if (template.getChargeFee() == null) {
|
|
|
- template.setChargeFee(new BigDecimal(BigInteger.ZERO));
|
|
|
+ if (template.getChargeFeeNew() == null) {
|
|
|
+ template.setChargeFeeNew(BigDecimal.ZERO);
|
|
|
}
|
|
|
- template.setChargeFee(template.getChargeFee().add(item.getUnitPrice().multiply(item.getQuantity()).multiply(item.getDrugWin())));
|
|
|
+ template.setChargeFeeNew(template.getChargeFeeNew().add(item.getUnitPrice().multiply(item.getQuantity()).multiply(item.getDrugWin())));
|
|
|
template.getList().add(item);
|
|
|
} else if (!resultList.contains(item)) {
|
|
|
resultList.add(item);
|