1.代客下单 orderDetail同步保存cartid

This commit is contained in:
2024-09-12 16:58:35 +08:00
parent 7c00d0d9a0
commit ff27101e13
2 changed files with 5 additions and 4 deletions

View File

@@ -116,6 +116,9 @@ public class TbOrderDetail implements Serializable {
@Column(name = "`note`")
private String note;
@Column(name = "`cart_id`")
private Integer cartId;
public void copy(TbOrderDetail source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
}