1
This commit is contained in:
parent
bafcf724f1
commit
05c85707dc
@ -64,10 +64,6 @@ public class AllOrderInfo extends BaseEntity implements Serializable {
|
||||
* 优惠金额
|
||||
*/
|
||||
private Double discountAmount;
|
||||
/**
|
||||
* 找零金额
|
||||
*/
|
||||
private Double seekZero;
|
||||
/**
|
||||
* 支付时间
|
||||
*/
|
||||
|
@ -433,7 +433,7 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> i
|
||||
// 商品实付金额
|
||||
Double goodsActualPay = Double.valueOf(map.get("goodsActualPay"));
|
||||
// 找零金额
|
||||
BigDecimal seekZero = new BigDecimal(map.get("seekZero"));
|
||||
Double seekZero = Double.valueOf(map.get("seekZero"));
|
||||
// 油枪id
|
||||
String oilGunId = map.get("oilGunId");
|
||||
// 活动营销优惠金额
|
||||
@ -687,7 +687,7 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> i
|
||||
} else {
|
||||
cashierOrder.setPayAmount(oilActualPay + goodsActualPay);
|
||||
}
|
||||
cashierOrder.setSeekZero(seekZero);
|
||||
cashierOrder.setSeekZero(BigDecimal.valueOf(seekZero));
|
||||
cashierOrder.setOrderNo(orderNo);
|
||||
cashierOrder.setGoodsOrderAmount(goodsAmount);
|
||||
cashierOrder.setGoodsDiscountAmount(goodsDiscount);
|
||||
|
Loading…
Reference in New Issue
Block a user