瀏覽代碼

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 c.id
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*/
<if test=" null != parentTenantId and '' != parentTenantId">
and o.`parent_tenant_id` = #{parentTenantId}
and c.`parent_tenant_id` = #{parentTenantId}
</if>
</select>


Loading…
取消
儲存