Преглед на файлове

fix bug

release_toaliyun_real
winter преди 4 години
родител
ревизия
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>


Зареждане…
Отказ
Запис