Просмотр исходного кода

fix card

release_toaliyun_real
lin 3 лет назад
Родитель
Сommit
e08fa34f08
2 измененных файлов: 5 добавлений и 0 удалений
  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 Просмотреть файл

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


+ 3
- 0
mallinkService/src/main/resources/mapper/WxCardInfoMapper.xml Просмотреть файл

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


Загрузка…
Отмена
Сохранить