Kaynağa Gözat

[积分券][修改][查询可以换购的积分券]

release_toaliyun_real
gongbiao 6 yıl önce
ebeveyn
işleme
bcb41c4f09
2 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. +4
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java
  2. +5
    -0
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml

+ 4
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java Dosyayı Görüntüle

@@ -88,6 +88,10 @@ public class WxCouponChannel extends BaseEntity {
@TableField(exist = false) @TableField(exist = false)
private Long merchantId; private Long merchantId;


@TableField(exist = false)
@io.swagger.annotations.ApiModelProperty(value = "用户积分", name = "userCredit")
private Integer userCredit;

public String getWeappPath() { public String getWeappPath() {
if(type == null) if(type == null)
return "pages/index/index"; return "pages/index/index";


+ 5
- 0
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml Dosyayı Görüntüle

@@ -91,6 +91,11 @@
and c.`support_transfer` = #{supportTransfer} and c.`support_transfer` = #{supportTransfer}
</if> </if>
<if test=" null != userCredit ">
and c.`credit_price` &lt;= #{userCredit}
</if>
<if test=" null != ids "> <if test=" null != ids ">
and cc.id in and cc.id in
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">


Yükleniyor…
İptal
Kaydet