From 3777ec066316f3c1d3ca36e2cae5b1e05bac4f6e Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期五, 05 十二月 2025 17:11:39 +0800
Subject: [PATCH] 首页

---
 business/src/main/resources/mapper/ProjectInfoMapper.xml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/business/src/main/resources/mapper/ProjectInfoMapper.xml b/business/src/main/resources/mapper/ProjectInfoMapper.xml
index 2c6acca..3220832 100644
--- a/business/src/main/resources/mapper/ProjectInfoMapper.xml
+++ b/business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -61,7 +61,6 @@
             TPI.id = #{id} AND TPI.deleted = 0
     </select>
 
-
     <select id="getPage" resultMap="resultMap">
         SELECT
             TPI.*,TPP.process_ins_id as processId,
@@ -251,4 +250,17 @@
 
     </select>
 
+    <select id="getProjectInfoAndFunding" parameterType="com.ycl.common.core.domain.BaseEntity" resultType="com.ycl.domain.vo.ProjectInvestmentFundingVO">
+        SELECT TPIF.project_id,TPIF.total_investment,TPIF.principal,TPIF.government_investment_total,
+               TPIF.central_investment_total,TPIF.provincial_investment_total,TPIF.city_investment_total,TPIF.county_investment_total,
+               TPIF.other_investment_total,TPIF.enterprise_self_raised_total,TPIF.foreign_investment_total,TPIF.bank_loan,TPIF.domestic_loan_total
+        FROM t_project_info TPI
+        LEFT JOIN t_project_investment_funding TPIF ON TPI.id = TPIF.project_id and TPIF.deleted = 0
+        LEFT JOIN sys_dept d ON TPI.project_owner_unit = d.dept_id
+        <where>
+            TPI.deleted = 0 AND TPI.used_status = 2
+            ${params.dataScope}
+        </where>
+
+    </select>
 </mapper>

--
Gitblit v1.8.0