This commit is contained in:
cun-nan 2024-10-12 11:53:41 +08:00
parent 5ec65bef7b
commit 4ed8126d60
2 changed files with 10 additions and 0 deletions

View File

@ -54,6 +54,14 @@ public class OrderGoods extends BaseEntity implements Serializable {
* 商品实付金额
*/
private Double payAmount;
/**
* 供应商id
*/
private Integer supplierId;
/**
* 供应商名称
*/
private String supplierName;
}

View File

@ -532,6 +532,8 @@ public class OilOrderServiceImpl extends ServiceImpl<OilOrderMapper, OilOrder> i
orderGoods.setOrderId(ljOrder.getId());
orderGoods.setGoodsId(Integer.valueOf(good.get("id").toString()));
orderGoods.setNum(Integer.valueOf(good.get("num").toString()));
orderGoods.setSupplierId(Integer.valueOf(good.get("supplierId").toString()));
orderGoods.setSupplierName(good.get("supplierName").toString());
orderGoodsService.insertOrderGoods(orderGoods, storeId, isMember);
}
}