47 lines
2.5 KiB
XML
47 lines
2.5 KiB
XML
|
|
<?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.CUST.brain.dao.mapper.ResearchProjectMapper">
|
||
|
|
|
||
|
|
<!-- 通用查询映射结果 -->
|
||
|
|
<resultMap id="BaseResultMap" type="com.CUST.brain.dao.domain.business.ResearchProject">
|
||
|
|
<id column="id" property="id"/>
|
||
|
|
<result column="name" property="name"/>
|
||
|
|
<result column="title_en" property="titleEn"/>
|
||
|
|
<result column="project_type" property="projectType"/>
|
||
|
|
<result column="keyword_original" property="keywordOriginal"/>
|
||
|
|
<result column="keyword_en" property="keywordEn"/>
|
||
|
|
<result column="summary_cn" property="summaryCn"/>
|
||
|
|
<result column="summary_en" property="summaryEn"/>
|
||
|
|
<result column="funding" property="funding"/>
|
||
|
|
<result column="currency_code" property="currencyCode"/>
|
||
|
|
<result column="funding_dollar" property="fundingDollar"/>
|
||
|
|
<result column="apply_year" property="applyYear"/>
|
||
|
|
<result column="plan_start_date" property="planStartDate"/>
|
||
|
|
<result column="plan_end_date" property="planEndDate"/>
|
||
|
|
<result column="undertake_unit_id" property="undertakeUnitId"/>
|
||
|
|
<result column="undertake_unit_state" property="undertakeUnitState"/>
|
||
|
|
<result column="undertake_unit_country" property="undertakeUnitCountry"/>
|
||
|
|
<result column="funder_name" property="funderName"/>
|
||
|
|
<result column="funder_group" property="funderGroup"/>
|
||
|
|
<result column="funder_country" property="funderCountry"/>
|
||
|
|
<result column="primary_subject" property="primarySubject"/>
|
||
|
|
<result column="sub_subject" property="subSubject"/>
|
||
|
|
<result column="status" property="status"/>
|
||
|
|
<result column="flag" property="flag"/>
|
||
|
|
<result column="create_time" property="createTime"/>
|
||
|
|
<result column="update_time" property="updateTime"/>
|
||
|
|
<result column="create_by" property="createBy"/>
|
||
|
|
<result column="update_by" property="updateBy"/>
|
||
|
|
</resultMap>
|
||
|
|
|
||
|
|
<!-- 通用查询结果列 -->
|
||
|
|
<sql id="Base_Column_List">
|
||
|
|
id, name, title_en, project_type, keyword_original, keyword_en,
|
||
|
|
summary_cn, summary_en, funding, currency_code, funding_dollar,
|
||
|
|
apply_year, plan_start_date, plan_end_date, undertake_unit_id,
|
||
|
|
undertake_unit_state, undertake_unit_country, funder_name,
|
||
|
|
funder_group, funder_country, primary_subject, sub_subject,
|
||
|
|
status, flag, create_time, update_time, create_by, update_by
|
||
|
|
</sql>
|
||
|
|
|
||
|
|
</mapper>
|