Sfoglia il codice sorgente

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

release_toaliyun_real
gongbiao 6 anni fa
parent
commit
bcb41c4f09
2 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  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 Vedi File

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

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

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


+ 5
- 0
mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml Vedi File

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


Caricamento…
Annulla
Salva