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

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

@@ -521,7 +521,7 @@
</select>
<select id="findProductCount" parameterType="com.iformall.domain.po.WxCouponOrder" resultType="java.lang.Integer">
select sum(coupon_number) FROM wx_coupon_order co
select COALESCE(sum(coupon_number),0) FROM wx_coupon_order co
where 1=1
<if test=" null != tenantId and '' != tenantId">
and co.`tenant_id` = #{tenantId}


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