SqlOperateDbSourceMapper.xml
846 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="com.monitor.mysql.mapper.SqlOperateDbSourceMapper" >
<resultMap id="BaseResultMap" type="com.model.SqlOperateDbSource" >
<id column="id" property="id" jdbcType="INTEGER" />
<result column="db_source_text" property="dbSourceText" jdbcType="VARCHAR" />
<result column="db_source_info" property="dbSourceInfo" jdbcType="VARCHAR" />
<result column="seq_no" property="seqNo" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
id, db_source_text,db_source_info,seq_no
</sql>
<select id="selectAll" resultMap="BaseResultMap">
select * from sql_operate_db_source order by seq_no
</select>
</mapper>