店铺修改 参数问题

This commit is contained in:
2024-09-12 10:26:28 +08:00
parent 5d15b3c309
commit 8b099a2ae6
2 changed files with 3 additions and 4 deletions

View File

@@ -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));
}
}