From 770ede03b2e532ff3729a8f447bdb4351637ca63 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期二, 02 六月 2020 12:02:58 +0800 Subject: [PATCH] 云发单兼容动态+商品详情 --- fanli/src/main/java/com/yeshi/fanli/mapping/user/cloud/UserCloudMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/user/cloud/UserCloudMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/user/cloud/UserCloudMapper.xml index bb306a5..94129b9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/user/cloud/UserCloudMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/user/cloud/UserCloudMapper.xml @@ -96,4 +96,12 @@ WHERE d.`uc_order_id` = #{orderId} </select> + + <select id="listValidUid" resultType="Long"> + SELECT * FROM (SELECT DISTINCT d.`uc_uid` FROM yeshi_ec_user_cloud d + WHERE d.`uc_end_time` > NOW() AND d.uc_wx_id IS NOT NULL)A + LIMIT #{start},{count} + </select> + + </mapper> -- Gitblit v1.8.0