<?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.yccrc.kede.mapper.EnterpriseProjectMapper">

    <resultMap id="BaseResultMap" type="com.yccrc.kede.domain.EnterpriseProject">
        <id property="id" column="id" jdbcType="INTEGER"/>
        <result property="entId" column="ent_id" jdbcType="INTEGER"/>
        <result property="entName" column="ent_name" jdbcType="VARCHAR"/>
        <result property="reportState" column="report_state" jdbcType="INTEGER"/>
        <result property="projectNo" column="project_no" jdbcType="VARCHAR"/>
        <result property="overYearFlag" column="over_year_flag" jdbcType="BIT"/>
        <result property="projectYear" column="project_year" jdbcType="VARCHAR"/>
        <result property="developFlag" column="develop_flag" jdbcType="BIT"/>
        <result property="backFlag" column="back_flag" jdbcType="BIT"/>
        <result property="projectName" column="project_name" jdbcType="VARCHAR"/>
        <result property="projectDate" column="project_date" jdbcType="VARCHAR"/>
        <result property="projectStartDate" column="project_start_date" jdbcType="VARCHAR"/>
        <result property="projectEndDate" column="project_end_date" jdbcType="VARCHAR"/>
        <result property="projectType" column="project_type" jdbcType="INTEGER"/>
        <result property="projectJson" column="project_json" jdbcType="VARCHAR"/>
        <result property="technicalField" column="technical_field" jdbcType="VARCHAR"/>
        <result property="technicalSource" column="technical_source" jdbcType="VARCHAR"/>
        <result property="technicalForm" column="technical_form" jdbcType="VARCHAR"/>
        <result property="industry" column="industry" jdbcType="BIT"/>
        <result property="industryType" column="industry_type" jdbcType="INTEGER"/>
        <result property="userId" column="user_id" jdbcType="INTEGER"/>
        <result property="techUserId" column="tech_user_id" jdbcType="INTEGER"/>
        <result property="finUserId" column="fin_user_id" jdbcType="INTEGER"/>
        <result property="createBy" column="create_by" jdbcType="VARCHAR"/>
        <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
        <result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
        <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
        <result property="remark" column="remark" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        id
        ,ent_id,ent_name,
        report_state,project_no,over_year_flag,
        project_year,develop_flag,back_flag,
        project_name,project_date,project_start_date,
        project_end_date,project_type,project_json,
        technical_field,technical_source,technical_form,
        industry,industry_type,user_id,create_by,
        create_time,update_by,update_time,
        remark
    </sql>
</mapper>
