<?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.testor.module.hazard.dao.THazardDisclosureDao">
    <!-- 开启二级缓存 -->
    <!-- <cache type="org.mybatis.caches.ehcache.LoggingEhcache"/> -->
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.testor.module.hazard.model.domain.THazardDisclosure">
                <id column="id" property="id"/>
                <id column="plan_id" property="planId"/>
                <id column="on_site_measures" property="onSiteMeasures"/>
                <id column="on_site_measures_file" property="onSiteMeasuresFile"/>
                <id column="safety_precautions" property="safetyPrecautions"/>
                <id column="safety_precautions_file" property="safetyPrecautionsFile"/>
                <id column="contact_person" property="contactPerson"/>
                <id column="contact_person_file" property="contactPersonFile"/>
                <id column="emergency_supplies" property="emergencySupplies"/>
                <id column="emergency_supplies_file" property="emergencySuppliesFile"/>
                <id column="disclosure_person_sign" property="disclosurePersonSign"/>
                <id column="recipient_signature" property="recipientSignature"/>
    </resultMap>
</mapper>