<?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="com.fjhx.common.mapper.contract.ContractTemplateMapper">
    <select id="getPage" resultType="com.fjhx.common.entity.contract.vo.ContractTemplateVo">
        select ct.id,
               ct.template_name,
               ct.corporation_id,
               ct.contact_name,
               ct.contact_number,
               c.corporation_number ,
               c.name corporation_name
        from contract_template ct
                 left join corporation c on c.id = ct.corporation_id
            ${ew.customSqlSegment}
    </select>

</mapper>
