标签:let har blog mapper for rem mem logs inf
List<Map> publishInfos = memberShareMapper.shareToCouponCountGroupByPublishId(memberShare.getActivityId());
<select id="shareToCouponCountGroupByPublishId" parameterType="java.lang.Long" resultType="map"> select count(msc.coupon_publish_id) COUPONCOUNT, msc.coupon_publish_id COUPONPUBLISHID from member_share_coupon msc, MEMBER_SHARE_ACTIVITY msa where activity_id = #{activityId} and for_share_to_user = ‘Y‘ and msc.IS_DELETE = ‘N‘ and msc.ACTIVITY_ID = msa.ID and msa.IS_DELETE = ‘N‘ and msa.SHARE_STATUS = ‘1‘ group by coupon_publish_id </select>
标签:let har blog mapper for rem mem logs inf
原文地址:http://www.cnblogs.com/wangchuanfu/p/7280134.html