<?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.zksy.data.mapper.XcrFoodProductionLicenseDetaliMapper">

    <resultMap id="BaseResultMap" type="com.zksy.data.domain.po.XcrFoodProductionLicenseDetali">
            <id property="infosharId" column="INFOSHAR_ID" jdbcType="VARCHAR"/>
            <result property="id" column="ID" jdbcType="VARCHAR"/>
            <result property="productionLicenceId" column="PRODUCTION_LICENCE_ID" jdbcType="VARCHAR"/>
            <result property="permitNo" column="PERMIT_NO" jdbcType="VARCHAR"/>
            <result property="foodCategory" column="FOOD_CATEGORY" jdbcType="VARCHAR"/>
            <result property="foodCategoryTwoCode" column="FOOD_CATEGORY_TWO_CODE" jdbcType="VARCHAR"/>
            <result property="foodCategoryTwoName" column="FOOD_CATEGORY_TWO_NAME" jdbcType="VARCHAR"/>
            <result property="foodCategoryThreeName" column="FOOD_CATEGORY_THREE_NAME" jdbcType="VARCHAR"/>
            <result property="foodCategoryFourName" column="FOOD_CATEGORY_FOUR_NAME" jdbcType="VARCHAR"/>
            <result property="remark" column="REMARK" jdbcType="VARCHAR"/>
            <result property="infantFormulaRegNo" column="INFANT_FORMULA_REG_NO" jdbcType="VARCHAR"/>
            <result property="specialMedicalRegNo" column="SPECIAL_MEDICAL_REG_NO" jdbcType="VARCHAR"/>
            <result property="healthFoodRegNo" column="HEALTH_FOOD_REG_NO" jdbcType="VARCHAR"/>
            <result property="healthFoodRecordNo" column="HEALTH_FOOD_RECORD_NO" jdbcType="VARCHAR"/>
            <result property="healthFoodPrefix" column="HEALTH_FOOD_PREFIX" jdbcType="VARCHAR"/>
            <result property="recordDate" column="RECORD_DATE" jdbcType="DATE"/>
            <result property="infoshareFid" column="INFOSHARE_FID" jdbcType="VARCHAR"/>
            <result property="infosharTime" column="INFOSHAR_TIME" jdbcType="TIMESTAMP"/>
            <result property="infoshareTime1" column="INFOSHARE_TIME1" jdbcType="TIMESTAMP"/>
            <result property="infoshareTime2" column="INFOSHARE_TIME2" jdbcType="TIMESTAMP"/>
            <result property="infoshareTime3" column="INFOSHARE_TIME3" jdbcType="TIMESTAMP"/>
            <result property="infoshareStat" column="INFOSHARE_STAT" jdbcType="VARCHAR"/>
            <result property="infoshareDtsource" column="INFOSHARE_DTSOURCE" jdbcType="VARCHAR"/>
            <result property="infoshareDtarea" column="INFOSHARE_DTAREA" jdbcType="VARCHAR"/>
            <result property="infoshareVer" column="INFOSHARE_VER" jdbcType="VARCHAR"/>
            <result property="infosharApp" column="INFOSHAR_APP" jdbcType="VARCHAR"/>
            <result property="seqGloballyUserUnique" column="SEQ_GLOBALLY_USER_UNIQUE______" jdbcType="VARCHAR"/>
            <result property="sourceSystem" column="SOURCE_SYSTEM" jdbcType="VARCHAR"/>
            <result property="iTime" column="I_TIME" jdbcType="TIMESTAMP"/>
            <result property="uniCode" column="uni_code" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        INFOSHAR_ID,ID,PRODUCTION_LICENCE_ID,
        PERMIT_NO,FOOD_CATEGORY,FOOD_CATEGORY_TWO_CODE,
        FOOD_CATEGORY_TWO_NAME,FOOD_CATEGORY_THREE_NAME,FOOD_CATEGORY_FOUR_NAME,
        REMARK,INFANT_FORMULA_REG_NO,SPECIAL_MEDICAL_REG_NO,
        HEALTH_FOOD_REG_NO,HEALTH_FOOD_RECORD_NO,HEALTH_FOOD_PREFIX,
        RECORD_DATE,INFOSHARE_FID,INFOSHAR_TIME,
        INFOSHARE_TIME1,INFOSHARE_TIME2,INFOSHARE_TIME3,
        INFOSHARE_STAT,INFOSHARE_DTSOURCE,INFOSHARE_DTAREA,
        INFOSHARE_VER,INFOSHAR_APP,SEQ_GLOBALLY_USER_UNIQUE______,
        SOURCE_SYSTEM,I_TIME,uni_code
    </sql>
</mapper>
