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

[积分][修改]:去掉types查询条件

release_toaliyun_real
hanxueda 7 лет назад
Родитель
Сommit
5f268d08eb
2 измененных файлов: 0 добавлений и 17 удалений
  1. +0
    -11
      mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java
  2. +0
    -6
      mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml

+ 0
- 11
mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java Просмотреть файл

@@ -54,9 +54,6 @@ public class WxCouponChannel implements Serializable {
@Transient @Transient
protected List<Long> couponIds; protected List<Long> couponIds;


@Transient
protected List<Integer> types;

public List<Long> getCouponIds() { public List<Long> getCouponIds() {
return couponIds; return couponIds;
} }
@@ -64,14 +61,6 @@ public class WxCouponChannel implements Serializable {
this.couponIds = couponIds; this.couponIds = couponIds;
} }


public List<Integer> getTypes() {
return types;
}

public void setTypes(List<Integer> types) {
this.types = types;
}

/*租户ID**/ /*租户ID**/
@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
private String tenantId; private String tenantId;


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

@@ -93,12 +93,6 @@
#{couponIdsItem} #{couponIdsItem}
</foreach> </foreach>
</if> </if>
<if test=" null != types ">
and c.type in
<foreach collection="types" index="index" item="typesItem" open="(" separator="," close=")">
#{typesItem}
</foreach>
</if>
<if test=" null != sortColumns"> order by ${sortColumns} </if> <if test=" null != sortColumns"> order by ${sortColumns} </if>
</sql> </sql>




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