|
|
@@ -187,6 +187,36 @@ public class MarkMtFeesService {
|
|
|
receipt.setGroupNo(item.get("groupNo").toString());
|
|
|
receipt.setBillItemCode(item.get("billItemCode").toString());
|
|
|
receipt.setChargeBillCode(item.get("chargeBillCode").toString());
|
|
|
+ if (null != item.get("instructionText")) {
|
|
|
+ receipt.setInstructionText(item.get("instructionText").toString());
|
|
|
+ }
|
|
|
+ if (null != item.get("specification")) {
|
|
|
+ receipt.setSpecification(item.get("specification").toString());
|
|
|
+ }
|
|
|
+ if (null != item.get("frequency")) {
|
|
|
+ receipt.setFrequency(item.get("frequency").toString());
|
|
|
+ }
|
|
|
+ if (null != item.get("drugQuan")) {
|
|
|
+ receipt.setDrugQuan((Double) item.get("drugQuan"));
|
|
|
+ }
|
|
|
+ if (null != item.get("orderDays")) {
|
|
|
+ receipt.setOrderDays((Integer) item.get("orderDays"));
|
|
|
+ }
|
|
|
+ // groupNo:00-项目;其他-药品
|
|
|
+ if ("00".equals(receipt.getGroupNo())) {
|
|
|
+ receipt.setDrugUnit(dao.selectXmChargeUnit(receipt.getChargeItemCode()));
|
|
|
+ } else {
|
|
|
+ if (null != item.get("serial")) {
|
|
|
+ receipt.setSerial(item.get("serial").toString());
|
|
|
+ receipt.setSpecification(dao.selectSpecification(receipt.getChargeItemCode(), receipt.getSerial()));
|
|
|
+ }
|
|
|
+ if (null != item.get("supplyCode")) {
|
|
|
+ receipt.setSupplyCode(dao.selectSupplyName(item.get("supplyCode").toString()));
|
|
|
+ }
|
|
|
+ if (null != item.get("drugUnit")) {
|
|
|
+ receipt.setDrugUnit(dao.selectDrugUnit(item.get("drugUnit").toString()));
|
|
|
+ }
|
|
|
+ }
|
|
|
if (!orderReceiptsMap.containsKey(receipt.getOrderNo())) {
|
|
|
List<MzReceipt> list = new ArrayList<>();
|
|
|
list.add(receipt);
|