Browse Source

fix card

release_toaliyun_real
lin 3 years ago
parent
commit
e08fa34f08
2 changed files with 5 additions and 0 deletions
  1. +2
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxCardInfo.java
  2. +3
    -0
      mallinkService/src/main/resources/mapper/WxCardInfoMapper.xml

+ 2
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxCardInfo.java View File

@@ -22,6 +22,8 @@ public class WxCardInfo extends TenantEntity {
@Excel(name = "卡号", width = 20, orderNum = "1")
@io.swagger.annotations.ApiModelProperty(value="主键ID-与coupon_order_id一致",name="id")
protected Long id;
@TableField(exist = false)
protected Long idLike;
@io.swagger.annotations.ApiModelProperty(value="卡密编码",name="couponPasswordId")
protected Long couponPasswordId;
@TableField(exist = false)


+ 3
- 0
mallinkService/src/main/resources/mapper/WxCardInfoMapper.xml View File

@@ -38,6 +38,9 @@
<if test=" null != id ">
and `id` = #{id}
</if>
<if test=" null != idLike ">
and `id` like concat('%',#{idLike},'%')
</if>
<if test=" null != parentTenantId and '' != parentTenantId">
and `parent_tenant_id` = #{parentTenantId}
</if>


Loading…
Cancel
Save