package com.by4cloud.platformx.business.mapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.by4cloud.platformx.business.dto.AnalysisCommonDTO; import com.by4cloud.platformx.business.dto.CreditSalesQueryDTO; import com.by4cloud.platformx.business.entity.Contract; import com.by4cloud.platformx.business.vo.*; import com.by4cloud.platformx.common.data.datascope.DataScope; import com.by4cloud.platformx.common.data.datascope.PlatformxBaseMapper; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author 28254 */ @Mapper public interface ContractMapper extends PlatformxBaseMapper { Page pageByCredit(Page page, @Param("queryDTO") CreditSalesQueryDTO queryDTO, DataScope comp_id); List contractAmountAnalysis(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compIds")List compIds); List contractIncomeAnalysis(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compIds")List compIds); void setSession(); List contractIncomeAnalysisByComp(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compId") Long compId); List contractAmountAnalysisByArea(@Param("queryDTO")AnalysisCommonDTO commonDTO ,@Param("compIds")List compIds,@Param("smjCompId") Long smj, @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc, @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj); List contractAmountAnalysisByIndustry(@Param("queryDTO")AnalysisCommonDTO commonDTO ,@Param("compIds")List compIds,@Param("smjCompId") Long smj, @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc, @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj); List contractAmountAnalysisByMarket(@Param("queryDTO")AnalysisCommonDTO commonDTO ,@Param("compIds")List compIds,@Param("smjCompId") Long smj, @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc, @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj); List contractAmountAnalysisBySpcBus(@Param("queryDTO")AnalysisCommonDTO commonDTO ,@Param("compIds")List compIds,@Param("smjCompId") Long smj, @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc, @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj); List contractAmountAnalysisByExportBus(@Param("queryDTO")AnalysisCommonDTO commonDTO ,@Param("compIds")List compIds,@Param("smjCompId") Long smj, @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc, @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj); List contractAmountAnalysisByComp(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compId") Long compId); List contractAmountAnalysisBySaleModel(@Param("queryDTO")AnalysisCommonDTO commonDTO ,@Param("compIds")List compIds,@Param("smjCompId") Long smj, @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc, @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj); }