1.代客下单 orderDetail同步保存cartid
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user