From 27617d6fb4b836c52c78fd950acf412e49d0e96b Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 28 二月 2025 09:32:00 +0800
Subject: [PATCH] 在库项目查询bug

---
 business/src/main/resources/mapper/ProjectInvestmentFundingMapper.xml |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/business/src/main/resources/mapper/ProjectInvestmentFundingMapper.xml b/business/src/main/resources/mapper/ProjectInvestmentFundingMapper.xml
index fbe5946..f91aca6 100644
--- a/business/src/main/resources/mapper/ProjectInvestmentFundingMapper.xml
+++ b/business/src/main/resources/mapper/ProjectInvestmentFundingMapper.xml
@@ -7,6 +7,9 @@
         <result column="project_id" property="projectId" />
         <result column="total_investment" property="totalInvestment" />
         <result column="principal" property="principal" />
+        <result column="dept_bond" property="deptBond" />
+        <result column="national_debt" property="nationalDebt" />
+        <result column="additional_national_debt" property="additionalNationalDebt" />
         <result column="government_investment_total" property="governmentInvestmentTotal" />
         <result column="central_investment_total" property="centralInvestmentTotal" />
         <result column="central_budget_investment" property="centralBudgetInvestment" />
@@ -30,9 +33,9 @@
         <result column="foreign_investment_total" property="foreignInvestmentTotal" />
         <result column="enterprise_self_raised_total" property="enterpriseSelfRaisedTotal" />
         <result column="other_investment_total" property="otherInvestmentTotal" />
-        <result column="gmt_create_time" property="gmtCreateTime" />
+        <result column="gmt_create" property="gmtCreate" />
         <result column="create_by" property="createBy" />
-        <result column="gmt_update_time" property="gmtUpdateTime" />
+        <result column="gmt_update" property="gmtUpdate" />
         <result column="update_by" property="updateBy" />
     </resultMap>
 
@@ -45,6 +48,9 @@
     <select id="getById" resultMap="BaseResultMap">
         SELECT
             TPIF.project_id,
+            TPIF.dept_bond,
+            TPIF.national_debt,
+            TPIF.additional_national_debt,
             TPIF.total_investment,
             TPIF.principal,
             TPIF.government_investment_total,
@@ -70,9 +76,9 @@
             TPIF.foreign_investment_total,
             TPIF.enterprise_self_raised_total,
             TPIF.other_investment_total,
-            TPIF.gmt_create_time,
+            TPIF.gmt_create,
             TPIF.create_by,
-            TPIF.gmt_update_time,
+            TPIF.gmt_update,
             TPIF.update_by,
             TPIF.id
         FROM
@@ -85,6 +91,9 @@
     <select id="getPage" resultMap="BaseResultMap">
         SELECT
             TPIF.project_id,
+            TPIF.dept_bond,
+            TPIF.national_debt,
+            TPIF.additional_national_debt,
             TPIF.total_investment,
             TPIF.principal,
             TPIF.government_investment_total,
@@ -110,9 +119,9 @@
             TPIF.foreign_investment_total,
             TPIF.enterprise_self_raised_total,
             TPIF.other_investment_total,
-            TPIF.gmt_create_time,
+            TPIF.gmt_create,
             TPIF.create_by,
-            TPIF.gmt_update_time,
+            TPIF.gmt_update,
             TPIF.update_by,
             TPIF.id
         FROM

--
Gitblit v1.8.0