Przeglądaj źródła

[卡类型][修改][常量及查询]

release_toaliyun_real
gongbiao 7 lat temu
rodzic
commit
7032606a18
2 zmienionych plików z 1 dodań i 2 usunięć
  1. +0
    -1
      mallinkService/src/main/java/com/iformall/enums/EnumCouponType.java
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 0
- 1
mallinkService/src/main/java/com/iformall/enums/EnumCouponType.java Wyświetl plik

@@ -17,7 +17,6 @@ public enum EnumCouponType {
COUPON_GROUP(9, "团购券"), COUPON_GROUP(9, "团购券"),


CARD_MULTIMCH(100, "消费卡"), CARD_MULTIMCH(100, "消费卡"),
CARD_CASH(101, "代金卡"),
; ;


public static EnumCouponType getEnum(Integer code) { public static EnumCouponType getEnum(Integer code) {


+ 1
- 1
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Wyświetl plik

@@ -669,7 +669,7 @@
inner join wx_coupon c on co.coupon_id = c.id inner join wx_coupon c on co.coupon_id = c.id
inner join wx_card_info a on co.id=a.id inner join wx_card_info a on co.id=a.id
where 1=1 where 1=1
and co.coupon_type in (100,101)
and co.coupon_type = 100
<if test="tenantId != null"> <if test="tenantId != null">
and co.tenant_id = #{tenantId} and co.tenant_id = #{tenantId}
</if> </if>


Ładowanie…
Anuluj
Zapisz