diff --git a/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java b/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java
index a7decb01f..468ca5ed6 100644
--- a/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java
+++ b/mallinkService/src/main/java/com/iformall/domain/po/WxCoupon.java
@@ -135,6 +135,9 @@ public class WxCoupon implements Serializable {
/*业态**/
@io.swagger.annotations.ApiModelProperty(value="业态",name="business")
private Integer business;
+ /*是否支持转送(0:不支持,1支持)**/
+ @io.swagger.annotations.ApiModelProperty(value="是否支持转送(0:不支持,1支持)",name="supportTransfer")
+ private Integer supportTransfer;
public String getTenantId() {
return tenantId;
}
@@ -273,6 +276,15 @@ public class WxCoupon implements Serializable {
public void setBusiness(Integer _business) {
business = _business;
}
+
+ public Integer getSupportTransfer() {
+ return supportTransfer;
+ }
+
+ public void setSupportTransfer(Integer supportTransfer) {
+ this.supportTransfer = supportTransfer;
+ }
+
public String getSalePriceStr() {
if(salePrice!=null) {
salePriceStr = new BigDecimal(salePrice).divide(new BigDecimal(100)).toString();
@@ -367,6 +379,7 @@ public class WxCoupon implements Serializable {
,CreateDate_ASC("`create_date` ASC"),CreateDate_DESC("`create_date` DESC")
,UpdateDate_ASC("`update_date` ASC"),UpdateDate_DESC("`update_date` DESC")
,Business_ASC("`business` ASC"),Business_DESC("`business` DESC")
+ ,SupportTransfer_ASC("`support_transfer` ASC"),SupportTransfer_DESC("`support_transfer` DESC")
;
private String value;
Field(String value){
diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml
index 4c8254b7f..9ea0e5bd3 100644
--- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml
@@ -26,10 +26,11 @@
+
- `id`,`tenant_id`,`type`,`cover_img`,`title`,`sub_title`,`sale_price`,`use_price`,`use_limit_quantity`,`send_type`,`valid_type`,`valid_start_date`,`valid_end_date`,`valid_days`,`detail`,`price`,`unit`,`remain_inventory`,`inventory`,`remark`,`status`,`create_date`,`update_date`,`business`
+ `id`,`tenant_id`,`type`,`cover_img`,`title`,`sub_title`,`sale_price`,`use_price`,`use_limit_quantity`,`send_type`,`valid_type`,`valid_start_date`,`valid_end_date`,`valid_days`,`detail`,`price`,`unit`,`remain_inventory`,`inventory`,`remark`,`status`,`create_date`,`update_date`,`business`,`support_transfer`
@@ -131,6 +132,10 @@
and `business` = #{business}
+
+ and `support_transfer` = #{supportTransfer}
+
+
and id in
@@ -172,6 +177,7 @@
+