EarlyWarningThresholdRangeConfigMapper.xml
818 Bytes
<?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="cn.com.glsx.dj.mindworkplate.mapper.EarlyWarningThresholdRangeConfigMapper" >
<resultMap id="BaseResultMap" type="cn.com.glsx.dj.mindworkplate.model.EarlyWarningThresholdRangeConfig" >
<!--
WARNING - @mbg.generated
-->
<result column="id" property="id" jdbcType="INTEGER" />
<result column="warning_type" property="warningType" jdbcType="TINYINT" />
<result column="range_value" property="rangeValue" jdbcType="DECIMAL" />
</resultMap>
<select id="selectByWarningType"
resultMap="BaseResultMap">
select * from early_warning_threshold_range_config where warning_type = #{warningType}
</select>
</mapper>