zxl
2025-12-05 3777ec066316f3c1d3ca36e2cae5b1e05bac4f6e
business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -250,10 +250,10 @@
    </select>
    <select id="getProjectInfoAndFunding" parameterType="com.ycl.common.core.domain.BaseEntity" resultMap="resultMap">
        SELECT TPI.*,TPIF.total_investment,TPIF.principal,TPIF.government_investment_total,
    <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.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