| | |
| | | <collection property="mgtOrderGoodsPageVoList" |
| | | ofType="com.ruoyi.order.domain.vo.MgtOrderGoodsPageVo" |
| | | select="listAllSimpleOrderGoodsByOrderId" |
| | | column="{orderId=orderId"> |
| | | column="{orderId=orderId}"> |
| | | <result column="goodsName" property="goodsName"/> |
| | | <result column="buyNum" property="buyNum"/> |
| | | </collection> |
| | |
| | | COUNT(DISTINCT toc.user_id) AS mapValue |
| | | FROM t_order toc |
| | | INNER JOIN t_order_goods tog ON tog.order_id = toc.order_id |
| | | WHERE toc.del_flag = 0 AND toc.shop_id = #{param.shopId} AND toc.order_from = 2 AND toc.order_status = 3 |
| | | WHERE toc.del_flag = 0 AND toc.shop_id = #{param.shopId} AND toc.order_from = 2 AND toc.order_status IN (2,3) |
| | | <if test="param.activityId !=null and param.activityId != ''"> |
| | | AND toc.activity_id = #{param.activityId} |
| | | </if> |
| | |
| | | COUNT(DISTINCT toc.user_id) AS mapValue |
| | | FROM t_order toc |
| | | INNER JOIN t_order_goods tog ON tog.order_id = toc.order_id |
| | | WHERE toc.del_flag = 0 AND toc.order_from = 2 AND toc.order_status = 3 |
| | | WHERE toc.del_flag = 0 AND toc.order_from = 2 AND toc.order_status IN (2,3) |
| | | <if test="param.activityId!=null and param.activityId!=''"> |
| | | AND toc.activity_id = #{param.activityId} |
| | | </if> |
| | |
| | | COUNT(DISTINCT toc.user_id) AS mapValue |
| | | FROM t_order toc |
| | | INNER JOIN t_order_goods tog ON tog.order_id = toc.order_id |
| | | WHERE toc.del_flag = 0 AND toc.order_from = 2 AND toc.order_status = 3 |
| | | WHERE toc.del_flag = 0 AND toc.order_from = 2 AND toc.order_status IN (2,3) |
| | | <if test="param.shopId != null and param.shopId != ''"> |
| | | AND toc.shop_id = #{param.shopId} |
| | | </if> |