diff --git a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponSendVo.java b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponSendVo.java index 1468dfaaa..ed760f3ba 100644 --- a/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponSendVo.java +++ b/mallinkService/src/main/java/com/iformall/domain/vo/WxCouponSendVo.java @@ -21,6 +21,11 @@ public class WxCouponSendVo extends WxCouponSend implements Serializable{ /*剩余库存**/ @io.swagger.annotations.ApiModelProperty(value="剩余库存",name="remainInventory") private Integer remainInventory; + + /**限领张数**/ + @io.swagger.annotations.ApiModelProperty(value="限领张数",name="useLimitQuantity") + private Integer useLimitQuantity; + /*总库存**/ @io.swagger.annotations.ApiModelProperty(value="总库存",name="inventory") private Integer inventory; @@ -67,4 +72,12 @@ public class WxCouponSendVo extends WxCouponSend implements Serializable{ public void setMerchantName(String merchantName) { this.merchantName = merchantName; } + + public Integer getUseLimitQuantity() { + return useLimitQuantity; + } + + public void setUseLimitQuantity(Integer useLimitQuantity) { + this.useLimitQuantity = useLimitQuantity; + } } diff --git a/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml index 2a05c53d3..56cf63396 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml @@ -15,6 +15,7 @@ + @@ -28,7 +29,7 @@ else '[多商户通用]' end) as merchant_name, - c.remain_inventory, c.inventory, c.valid_start_date, c.valid_end_date + c.remain_inventory, c.use_limit_quantity, c.inventory, c.valid_start_date, c.valid_end_date