package org.jeecg.modules.shop.order.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.shop.order.entity.PartnerOrder;
import org.jeecg.modules.shop.order.entity.query.queryList;
import org.jeecg.modules.shop.order.entity.vo.PartnerOrderVO;

/**
 * @Description: 合作伙伴订单
 * @Author: jeecg-boot
 * @Date:   2025-07-16
 * @Version: V1.0
 */
public interface IPartnerOrderService extends IService<PartnerOrder> {

    IPage<PartnerOrderVO> queryPageList(queryList query, Integer pageNo, Integer pageSize);

    Integer getOrderCountByUserAndYear(String userId, String year);
    Integer getTakeOrderUserCountByUserAndYear(String userId, String year);


}
