店铺修改 参数问题
This commit is contained in:
@@ -57,8 +57,7 @@ public class TbShopInfo implements Serializable {
|
||||
@ApiModelProperty(value = "商户Id")
|
||||
private String merchantId;
|
||||
|
||||
@Column(name = "`shop_name`",nullable = false)
|
||||
@NotBlank
|
||||
@Column(name = "`shop_name`")
|
||||
@ApiModelProperty(value = "店铺名称")
|
||||
private String shopName;
|
||||
|
||||
@@ -282,6 +281,6 @@ public class TbShopInfo implements Serializable {
|
||||
private String paymentQrcode;
|
||||
|
||||
public void copy(TbShopInfo source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(false));
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user