diff --git a/mallinkService/src/main/java/com/simple/domain/po/WxCoupon.java b/mallinkService/src/main/java/com/simple/domain/po/WxCoupon.java index 602f0211e..01680bd46 100644 --- a/mallinkService/src/main/java/com/simple/domain/po/WxCoupon.java +++ b/mallinkService/src/main/java/com/simple/domain/po/WxCoupon.java @@ -86,12 +86,7 @@ public class WxCoupon implements Serializable { /*须知**/ @io.swagger.annotations.ApiModelProperty(value="须知",name="detail") private String detail; - /*发券方式(1.主动领取,2.定向投放)**/ - @io.swagger.annotations.ApiModelProperty(value="发券方式(1.主动领取,2.定向投放)",name="sendType") - private Integer sendType; - /*投放频道位置(1.banner图,2.限时抢购)**/ - @io.swagger.annotations.ApiModelProperty(value="投放频道位置(1.banner图,2.限时抢购)",name="targetAd") - private Integer targetAd; + /*业态**/ @io.swagger.annotations.ApiModelProperty(value="业态",name="businesses") private String businesses; @@ -203,18 +198,7 @@ public class WxCoupon implements Serializable { public void setDetail(String _detail) { detail = _detail; } - public Integer getSendType() { - return sendType; - } - public void setSendType(Integer _sendType) { - sendType = _sendType; - } - public Integer getTargetAd() { - return targetAd; - } - public void setTargetAd(Integer _targetAd) { - targetAd = _targetAd; - } + public String getBusinesses() { return businesses; } diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index e6de7c089..8d5fc0941 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -18,8 +18,6 @@ - - @@ -115,16 +113,7 @@ and `detail` like concat('%', #{detail},'%') - - - and `send_type` = #{sendType} - - - - - and `target_ad` = #{targetAd} - - + and `businesses` like concat('%', #{businesses},'%')