From e02812df9217d3e50a368a8234c07c60c64c0ff4 Mon Sep 17 00:00:00 2001
From: shiyunteng <shiyunteng@example.com>
Date: 星期三, 05 八月 2026 08:34:26 +0800
Subject: [PATCH] feat:新增石煤机 机械厂模版合同/客户数据主数据同步接口/合同履约进度新增质保结束操作/合同开票状态 修改为待开 可开 已开/出库逻辑完善

---
 platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java |   61 ++++++++++++++++++++++++++++++
 1 files changed, 61 insertions(+), 0 deletions(-)

diff --git a/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java b/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java
index 8068932..933b6c2 100644
--- a/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java
+++ b/platformx-business-finance-biz/src/main/java/com/by4cloud/platformx/business/mapper/ContractMapper.java
@@ -1,12 +1,73 @@
 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.ContracQueryDTO;
+import com.by4cloud.platformx.business.dto.ContractQueryDTO;
+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.core.util.R;
+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<Contract> {
+    Page<ContractCreditSalesPageVo> pageByCredit(Page page, @Param("queryDTO") CreditSalesQueryDTO queryDTO, DataScope comp_id);
+
+    List<ContractAmountAnalysisVo> contractAmountAnalysis(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compIds")List<Long> compIds);
+
+	List<ContractIncomeAnalysisVo> contractIncomeAnalysis(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compIds")List<Long> compIds);
+
+	void setSession();
+
+	List<ContractIncomeAnalysisCompVo> contractIncomeAnalysisByComp(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compId") Long compId);
+
+	List<ContractIncomeAnalysisAreaVo> contractAmountAnalysisByArea(@Param("queryDTO")AnalysisCommonDTO commonDTO
+																	,@Param("compIds")List<Long> compIds,@Param("smjCompId") Long smj,
+																	@Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc,
+																	@Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj);
+
+	List<ContractIncomeAnalysisAreaVo> contractAmountAnalysisByIndustry(@Param("queryDTO")AnalysisCommonDTO commonDTO
+			,@Param("compIds")List<Long> compIds,@Param("smjCompId") Long smj,
+																		@Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc,
+																		@Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj);
+
+	List<ContractIncomeAnalysisAreaVo> contractAmountAnalysisByMarket(@Param("queryDTO")AnalysisCommonDTO commonDTO
+			,@Param("compIds")List<Long> compIds,@Param("smjCompId") Long smj,
+																	  @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc,
+																	  @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj);
+
+	List<ContractIncomeAnalysisAreaVo> contractAmountAnalysisBySpcBus(@Param("queryDTO")AnalysisCommonDTO commonDTO
+			,@Param("compIds")List<Long> compIds,@Param("smjCompId") Long smj,
+																	  @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc,
+																	  @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj);
+
+
+	List<ContractIncomeAnalysisAreaVo> contractAmountAnalysisByExportBus(@Param("queryDTO")AnalysisCommonDTO commonDTO
+			,@Param("compIds")List<Long> compIds,@Param("smjCompId") Long smj,
+																		 @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc,
+																		 @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj);
+
+	List<ContractAmountAnalysisCompVo> contractAmountAnalysisByComp(@Param("queryDTO")AnalysisCommonDTO commonDTO,@Param("compId") Long compId);
+
+	List<ContractIncomeAnalysisAreaVo> contractAmountAnalysisBySaleModel(@Param("queryDTO")AnalysisCommonDTO commonDTO
+			,@Param("compIds")List<Long> compIds,@Param("smjCompId") Long smj,
+																		 @Param("sgbCompId")Long sgb, @Param("jxcCompId")Long jxc,
+																		 @Param("tfCompId") Long tfgs,@Param("ymjCompId") Long ymj);
+
+    Page<ContractPageVo> pageScope(Page page,@Param("queryDTO") ContracQueryDTO queryDTO, DataScope comp_id);
+
+    HomeZbjtVo homeZbjt();
+
+	HomeZgsVo homeZgs(@Param("compId") Long compId);
+
+	Page<FourAssociationPageVo> fourAssociation(Page page,@Param("queryDTO") ContractQueryDTO queryDTO, DataScope comp_id);
 }

--
Gitblit v1.9.1