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

[专题][修改][修改列表,不展示已上架的数据]

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
298fc81ea1
1 измененных файлов: 7 добавлений и 0 удалений
  1. +7
    -0
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

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

@@ -244,6 +244,7 @@
</foreach>
</if>


<if test=" null != sortColumns">order by ${sortColumns}</if>
</sql>

@@ -414,6 +415,12 @@
#{typesItem}
</foreach>
</if>

<if test="0 == status ">
and c.id not in
(select coupon_id from wx_coupon_channel where tenant_id=#{tenantId} and status = 0)
</if>

<if test=" null != sortColumns">order by ${sortColumns}</if>
</sql>



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