<?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.hdkj.lt.bf.mapper.FhzgElectricalModelInjectionMapper">

    <resultMap id="BaseResultMap" type="com.hdkj.lt.bf.entity.FhzgElectricalModelInjection">
            <id property="id" column="id" jdbcType="BIGINT"/>
            <result property="sectionId" column="section_id" jdbcType="VARCHAR"/>
            <result property="injectionId" column="injection_id" jdbcType="VARCHAR"/>
            <result property="name" column="name" jdbcType="VARCHAR"/>
            <result property="busId" column="bus_id" jdbcType="VARCHAR"/>
            <result property="injectionType" column="injection_type" jdbcType="INTEGER"/>
            <result property="isActive" column="is_active" jdbcType="TINYINT"/>
            <result property="controlMode" column="control_mode" jdbcType="INTEGER"/>
            <result property="vmPu" column="vm_pu" jdbcType="DECIMAL"/>
            <result property="pInjPu" column="p_inj_pu" jdbcType="DECIMAL"/>
            <result property="qInjPu" column="q_inj_pu" jdbcType="DECIMAL"/>
            <result property="feederId" column="feeder_id" jdbcType="VARCHAR"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,section_id,injection_id,
        name,bus_id,injection_type,
        is_active,control_mode,vm_pu,
        p_inj_pu,q_inj_pu,feeder_id,
        create_time
    </sql>
</mapper>
