Commit 96b78a77 authored by hezhen's avatar hezhen

Merge branch 'master-tiande' into dev-tiande

parents bf3f637f 97949dec
...@@ -3,12 +3,10 @@ package com.github.wxiaoqi.security.admin.entity; ...@@ -3,12 +3,10 @@ package com.github.wxiaoqi.security.admin.entity;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import javax.persistence.Column; import javax.persistence.*;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.math.RoundingMode;
/** /**
...@@ -44,6 +42,12 @@ public class BaseUserMemberLevel implements Serializable { ...@@ -44,6 +42,12 @@ public class BaseUserMemberLevel implements Serializable {
@ApiModelProperty(value = "等级") @ApiModelProperty(value = "等级")
private Integer level; private Integer level;
@Column(name = "extract")
@ApiModelProperty(value = "提成比例")
private Integer extract;
//描述 //描述
@Column(name = "describes") @Column(name = "describes")
@ApiModelProperty(value = "描述") @ApiModelProperty(value = "描述")
...@@ -64,6 +68,21 @@ public class BaseUserMemberLevel implements Serializable { ...@@ -64,6 +68,21 @@ public class BaseUserMemberLevel implements Serializable {
@ApiModelProperty(value = "折扣") @ApiModelProperty(value = "折扣")
private Integer discount; private Integer discount;
@Column(name = "share_amount")
@ApiModelProperty(value = "分红金额")
private BigDecimal shareAmount;
@Column(name = "is_share")
@ApiModelProperty(value = "是否分红:0-否;1-是")
private Integer isShare;
@Column(name = "is_show")
@ApiModelProperty(value = "是否显示:0-不显示;1-显示")
private Integer isShow;
//是否删除;0-正常;1-删除 //是否删除;0-正常;1-删除
@Column(name = "isdel") @Column(name = "isdel")
@ApiModelProperty(value = "是否删除;0-正常;1-删除") @ApiModelProperty(value = "是否删除;0-正常;1-删除")
...@@ -93,4 +112,8 @@ public class BaseUserMemberLevel implements Serializable { ...@@ -93,4 +112,8 @@ public class BaseUserMemberLevel implements Serializable {
@ApiModelProperty(value = "会员商品图片") @ApiModelProperty(value = "会员商品图片")
private String itemImg; private String itemImg;
@Transient
private BigDecimal showShareAmount;
} }
...@@ -229,7 +229,11 @@ public class OrderMsgBiz { ...@@ -229,7 +229,11 @@ public class OrderMsgBiz {
//后台发送消息(客服) //后台发送消息(客服)
Cofig cofig = configFeign.getAllByType(ConfigFeign.TYPE_CUS_SER+ "").getData().get(0); Cofig cofig = configFeign.getAllByType(ConfigFeign.TYPE_CUS_SER+ "").getData().get(0);
smsParams.clear(); smsParams.clear();
sms2BgUser(cofig.getValue(), startCompanyDetail, endCompanyDetail, orvd, otd, baseOrder, appUserDTO, SmsTemplateDTO.PAY_C, smsParams); String phoneValue = cofig.getValue();
if (phoneValue != null) {
phoneValue = phoneValue.replaceAll("<p>", "").replace("</p>","");
}
sms2BgUser(phoneValue, startCompanyDetail, endCompanyDetail, orvd, otd, baseOrder, appUserDTO, SmsTemplateDTO.PAY_C, smsParams);
//后台发送消息(出车人) //后台发送消息(出车人)
smsParams.clear(); smsParams.clear();
......
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