代客下单订单同步保存就餐人数

This commit is contained in:
2024-09-23 13:35:05 +08:00
parent eacf010f15
commit 220ec46d4b
2 changed files with 5 additions and 0 deletions

View File

@@ -234,6 +234,9 @@ public class TbOrderInfo implements Serializable {
@Column(name = "`seat_amount`")
private BigDecimal seatAmount;
@Column(name = "`seat_count`")
private Integer seatCount;
public void copy(TbOrderInfo source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
}