|
@@ -155,7 +155,7 @@ public class SiMzService {
|
|
|
receipt.setChargeItemCode(detail.get("chargeItemCode").toString());
|
|
|
receipt.setPriceTime(DateUtil.formatPriceTime(detail.get("priceTime").toString()));
|
|
|
receipt.setUnitPrice(new BigDecimal(detail.get("unitPrice").toString()).setScale(4, RoundingMode.HALF_UP));
|
|
|
- receipt.setQuantity((double) detail.get("quantity"));
|
|
|
+ receipt.setQuantity(Double.valueOf(detail.get("quantity").toString()));
|
|
|
receipt.setDrugWin((int) detail.get("drugWin"));
|
|
|
receipt.setDoctorCode(detail.get("doctorCode").toString());
|
|
|
receipt.setSerialNo(detail.get("serialNo").toString());
|
|
@@ -172,7 +172,7 @@ public class SiMzService {
|
|
|
receipt.setFrequency(detail.get("frequency").toString());
|
|
|
}
|
|
|
if (null != detail.get("drugQuan")) {
|
|
|
- receipt.setDrugQuan((Double) detail.get("drugQuan"));
|
|
|
+ receipt.setDrugQuan(Double.valueOf(detail.get("drugQuan").toString()));
|
|
|
}
|
|
|
if (null != detail.get("orderDays")) {
|
|
|
receipt.setOrderDays((Integer) detail.get("orderDays"));
|