DashboardPortalMapper.xml 953 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.DashboardPortalMapper" >
    <resultMap id="BaseResultMap" type="com.model.DashboardPortal" >
        <id column="id" property="id" jdbcType="INTEGER" />
        <result column="text" property="text" jdbcType="VARCHAR" />
        <result column="link" property="link" jdbcType="VARCHAR" />
        <result column="toptype" property="topType" jdbcType="VARCHAR" />
        <result column="secondtype" property="secondType" jdbcType="VARCHAR" />
        <result column="seq_no" property="seqNo" jdbcType="INTEGER" />
    </resultMap>

    <sql id="Base_Column_List" >
        id,  text,link,toptype,secondtype,seq_no
    </sql>

    <select id="selectAll" resultMap="BaseResultMap">
        select * from dashboard_portal order by  seq_no
    </select>
</mapper>