Commit 03800295 authored by unset's avatar unset

修改支付信息

parent 2e4cf2df
......@@ -92,7 +92,7 @@ public class UserAddress implements Serializable {
@Column(name = "user_id")
@ApiModelProperty(value = "用户ID")
private Long userId;
private Integer userId;
/**
* 是否删除: 0、否,1、是
......
......@@ -73,6 +73,7 @@ public class UserAddressBiz extends BaseBiz<UserAddressMapper, UserAddress> {
if (userAddress == null) {
return ObjectRestResponse.paramIsEmpty();
}
userAddress.setUserId(appUserVo.getUserid());
if (userAddress.getId() != null) {
UserAddress old = selectById(userAddress.getId());
if (old != null && old.getIsDel() != 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment