添加会员余额变动通知
This commit is contained in:
@@ -21,6 +21,11 @@ public class TbShopUserFlow implements Serializable {
|
||||
|
||||
private String type;
|
||||
|
||||
|
||||
private String isReturn;
|
||||
|
||||
private String remark;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Integer getId() {
|
||||
@@ -86,4 +91,20 @@ public class TbShopUserFlow implements Serializable {
|
||||
public void setType(String type) {
|
||||
this.type = type == null ? null : type.trim();
|
||||
}
|
||||
|
||||
public String getIsReturn() {
|
||||
return isReturn;
|
||||
}
|
||||
|
||||
public void setIsReturn(String isReturn) {
|
||||
this.isReturn = isReturn;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
@@ -1204,6 +1204,7 @@ public class PayService {
|
||||
flow.setAmount(memberIn.getAmount());
|
||||
flow.setBalance(tbShopUser.getAmount());
|
||||
flow.setCreateTime(new Date());
|
||||
flow.setRemark(payOrderNO);
|
||||
tbShopUserFlowMapper.insert(flow);
|
||||
//会员活动
|
||||
BigDecimal awardAmount= giveActivate(tbShopUser,memberIn.getAmount(),flow.getId());
|
||||
|
||||
Reference in New Issue
Block a user