<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.financeManage.mapper.FdIncomeMapper">
    <select id="findByPage" resultType="org.jeecg.modules.financeManage.entity.FdIncome">
        SELECT
            fi.*,
            fp.NAME AS bioanalyticalPmName
        FROM
            fd_income fi
            LEFT JOIN fd_project_file fpf ON fpf.id = fi.project_file_id
            LEFT JOIN fd_personnel fp ON fp.id = fpf.bioanalytical_pm
        ${ew.customSqlSegment}
    </select>
</mapper>