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

/。 countByFilter

release_toaliyun_real
xhxu 4 лет назад
Родитель
Сommit
122dd7a0a5
2 измененных файлов: 8 добавлений и 4 удалений
  1. +5
    -1
      mallinkService/src/main/resources/mapper/WxCUserTagsMapper.xml
  2. +3
    -3
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

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

@@ -73,7 +73,11 @@
<select id="findIdList" parameterType="java.util.HashMap" resultType="java.lang.Long">
select id
from wx_c_user_tags
<include refid="dynamicWhereConditions"/>
where tenant_id = #{tenantId}
and
<foreach collection="tagIdList" index="index" item="tagId" open="(" separator=" or " close=")">
JSON_CONTAINS(tags,#{tagId})
</foreach>
</select>

<update id="updateNewId" parameterType="com.iformall.domain.vo.CUserTagNewIdVo">


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

@@ -1128,9 +1128,9 @@
<select id="findVerifiedUserIds" parameterType="java.util.HashMap" resultType="java.lang.Long">
select distinct c_user_id from wx_coupon_order
where `tenant_id` = #{tenantId}
and wco.coupon_order_status = 1
and wco.update_date &gt;= #{verifiedStartTime}
and wco.update_date &lt;= #{verifiedEndTime}
and coupon_order_status = 1
and update_date &gt;= #{verifiedStartTime}
and update_date &lt;= #{verifiedEndTime}
</select>

</mapper>

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