luohairen
2024-12-26 06749c4f89adbae1581f142d5b73576ecf6136d8
business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -94,7 +94,8 @@
            TPURI.wechat as TPURI_wechat,
            TPURI.contact_address as TPURI_contact_address,
            TPURI.post_code as TPURI_post_code,
            TPURI.email as TPURI_email
            TPURI.email as TPURI_email,
            TPI.coding
        FROM
            t_project_info TPI
        LEFT JOIN t_project_investment_funding TPIF ON TPI.id = TPIF.project_id and TPIF.deleted = 0
@@ -104,6 +105,7 @@
        LEFT JOIN t_project_process TPP ON TPI.id = TPP.project_id and TPP.deleted = 0
        <where>
            TPI.deleted = 0
            and TPI.used_status = 2
            <if test="query.projectName !=null and query.projectName!=''">
                and TPI.project_name like concat('%',#{query.projectName},'%')
            </if>
@@ -201,4 +203,7 @@
            </if>
        </where>
    </select>
    <select id="queryById" resultType="com.ycl.domain.entity.ProjectInfo">
        select * from t_project_info where id = #{id} and deleted = 0
    </select>
</mapper>