Newer
Older
casic-metering-biz-xichang / casic-metering-dao / src / main / resources / mapper / business / BizBusinessDeviceMeasureItemDataSafetyValveMapper.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.casic.missiles.mapper.business.BizBusinessDeviceMeasureItemDataSafetyValveMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.casic.missiles.model.business.BizBusinessDeviceMeasureItemDataSafetyValve">
        <id column="id" property="id" />
        <result column="item_id" property="itemId" />
        <result column="data_type" property="dataType" />
        <result column="nominal_value" property="nominalValue" />
        <result column="unit" property="unit" />
        <result column="upper_allow_value" property="upperAllowValue" />
        <result column="lower_allow_value" property="lowerAllowValue" />
        <result column="create_time" property="createTime" />
        <result column="update_time" property="updateTime" />
    </resultMap>

    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, item_id, data_type, nominal_value, unit, upper_allow_value, lower_allow_value, create_time, update_time
    </sql>

</mapper>