winter 4 лет назад
Родитель
Сommit
791f00d72c
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

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

@@ -1277,10 +1277,10 @@
<select id="findIdsListHasConditons" parameterType="com.iformall.domain.po.WxCoupon" resultType="Long"> <select id="findIdsListHasConditons" parameterType="com.iformall.domain.po.WxCoupon" resultType="Long">
select c.id select c.id
from wx_coupon c from wx_coupon c
where o.`tenant_id` = #{tenantId} and c.conditions is not null
where c.`tenant_id` = #{tenantId} and c.conditions is not null
/*and JSON_EXTRACT(c.conditions, '$.type') = 1*/ /*and JSON_EXTRACT(c.conditions, '$.type') = 1*/
<if test=" null != parentTenantId and '' != parentTenantId"> <if test=" null != parentTenantId and '' != parentTenantId">
and o.`parent_tenant_id` = #{parentTenantId}
and c.`parent_tenant_id` = #{parentTenantId}
</if> </if>
</select> </select>


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