Helius
2021-03-17 9974b1fffff1cad712b7c30fb4c708ef45ec4b8c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.matrix.system.shopXcx.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.matrix.system.shopXcx.bean.ShopOrder;
import org.apache.ibatis.annotations.Param;
 
/**
 * @description 订单表
 */
public interface ShopOrderV2Dao extends BaseMapper<ShopOrder> {
 
    /** 统计已收货订单数 */
    int selectReceivedOrderCount(String openId);
    /** 统计已收货订单金额 */
    Double countOrderAmount(String openId);
 
    /** 统计是否消费过了指定产品 */
    int countBuyZdcp(@Param("openId") String openId, @Param("productIds")String productIds);
}