From 5041e1691397344f4bd8d79b34c74df512b69881 Mon Sep 17 00:00:00 2001
From: luohairen <3399054449@qq.com>
Date: 星期五, 29 十一月 2024 12:57:53 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/business/src/main/resources/mapper/ProjectInfoMapper.xml b/business/src/main/resources/mapper/ProjectInfoMapper.xml
index 0da2550..f5f8b3b 100644
--- a/business/src/main/resources/mapper/ProjectInfoMapper.xml
+++ b/business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -149,8 +149,18 @@
             <if test="query.reserveOrPrevious != null and query.reserveOrPrevious == 'previous'">
                 and TPP.process_instance_id is not null
             </if>
+            <if test="query.projectCategory == 3">
+                and (TPI.project_status = 'working' or TPI.project_status = 'stop')
+            </if>
         </where>
         order by TPI.gmt_create
     </select>
 
+    <select id="homeCount" resultType="com.ycl.domain.vo.ProjectVO">
+        SELECT TPI.*,TPIF.total_investment,TPP.process_instance_id as processId
+        FROM t_project_info TPI
+        LEFT JOIN t_project_investment_funding TPIF ON TPI.id = TPIF.project_id and TPIF.deleted = 0
+        LEFT JOIN t_project_process TPP ON TPI.id = TPP.project_id and TPP.deleted = 0
+        WHERE TPI.deleted = 0
+</select>
 </mapper>

--
Gitblit v1.8.0