From 74ac7e48013eeb73fe76ad5c31c4b7afad967d0d Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 29 十一月 2024 14:42:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
business/src/main/resources/mapper/ProjectInfoMapper.xml | 20 +++++++++++++++++++-
1 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/business/src/main/resources/mapper/ProjectInfoMapper.xml b/business/src/main/resources/mapper/ProjectInfoMapper.xml
index f5f8b3b..4de8e29 100644
--- a/business/src/main/resources/mapper/ProjectInfoMapper.xml
+++ b/business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -162,5 +162,23 @@
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>
+ </select>
+
+ <select id="selectProjectDetailByIds" resultType="com.ycl.domain.vo.ProjectVO">
+ select *
+ 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_investment_info TPII on TPI.id = TPII.project_id and TPII.deleted = 0
+ left join t_project_unit_registration_info TPURI on TPI.id = TPURI.project_id and TPURI.deleted = 0
+ left join t_project_investment_policy_compliance TPIPC on TPI.id = TPIPC.project_id and TPIPC.deleted = 0
+ <where>
+ TPI.deleted =0
+ <if test="dataIdList != null and dataIdList.size > 0">
+ and TPI.id in
+ <foreach collection="dataIdList" item="id" separator="," open="(" close=")">
+ #{id}
+ </foreach>
+ </if>
+ </where>
+ </select>
</mapper>
--
Gitblit v1.8.0