package com.hzs.report.member.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.report.stat.CuLianchuangDataStat;
import com.hzs.report.member.vo.AbroadDataStatVO;
import com.hzs.report.member.vo.CuLianchuangDataStatVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 联创报表统计 服务类
 * </p>
 *
 * @author zhangjing
 * @since 2023-10-19
 */
public interface ICuLianchuangDataStatService extends IService<CuLianchuangDataStat> {

   /**
    * @description: 查询联创数据报表
    * @author: zhang jing
    * @date: 2023/10/19 16:02
    * @param: [lcVO]
    * @return: java.util.List<com.hzs.report.member.vo.CuLianchuangDataStatVO>
    **/
   List<CuLianchuangDataStatVO> lcStatList(List<CuLianchuangDataStat> lcList);

   List<CuLianchuangDataStatVO> lcStatListByOrdeType(List<Integer> orderTypeList,Integer orderType,CuLianchuangDataStat lcDate);

   /**
    * @description: 联创数据查询
    * @author: zhang jing
    * @date: 2024/7/17 16:40
    * @param: [orderTypeList, orderType, lcDate]
    * @return: java.util.List<com.hzs.report.member.vo.CuLianchuangDataStatVO>
    **/
   List<CuLianchuangDataStatVO> newLcStatListByOrdeType(CuLianchuangDataStatVO lcDate,Long pkMember);

   /**
    * @description: 数据报表-联创统计历史业绩数据
    * @author: zhang jing
    * @date: 2024/5/30 10:16
    * @param: [orderTypeList, orderType, lcDate]
    * @return: java.util.List<com.hzs.report.member.vo.CuLianchuangDataStatVO>
    **/
   List<CuLianchuangDataStatVO> lcStatOrdeHistoryList(CuLianchuangDataStatVO cds,CuLianchuangDataStat lcDate);
   /**
    * @description:数据报表-联创统计历史业绩累计数据
    * @author: zhang jing
    * @date: 2024/5/31 11:34
    * @param: [cds, lcDate]
    * @return: java.util.List<com.hzs.report.member.vo.CuLianchuangDataStatVO>
    **/
   List<CuLianchuangDataStatVO> lcStatOrderHistorySumList(CuLianchuangDataStatVO cds,CuLianchuangDataStat lcDate);







   /**
    * @description: 查询国外数据报表
    * @author: zhang jing
    * @date: 2023/12/5 10:37
    * @param: [pkCountryList, startDate, endDate]
    * @return: java.util.List<com.hzs.report.member.vo.CuLianchuangDataStatVO>
    **/
   List<AbroadDataStatVO> abroadStatList(List<CuLianchuangDataStatVO> pkCountryList, String startDate, String endDate);

   /**
    * @description: 国家列表
    * @author: zhang jing
    * @date: 2023/12/5 11:22
    * @param: []
    * @return: java.util.List<com.hzs.report.member.vo.CuLianchuangDataStatVO>
    **/
   List<CuLianchuangDataStatVO> countryList();



   /**
    * @description: 删除查询联创数据报表条件
    * @author: zhang jing
    * @date: 2023/10/20 9:45
    * @param: [pkIdList]
    * @return: boolean
    **/
   boolean deleteLcStat(List<Long> pkIdList);

   /**
    * @description: 新联创查询会员金额和业绩
    * @author: zhang jing
    * @date: 2025/3/4 17:09
    * @param: [addRegion, reduceRegion]
    * @return: java.util.List<com.hzs.report.member.vo.CuLianchuangDataStatVO>
    **/
   CuLianchuangDataStatVO getLianchuangDifference(CuLianchuangDataStatVO clds,CuLianchuangDataStatVO member);
}
