<?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.zzg.system.mapper.system.SysLayerMapper">
|
|
<resultMap id="BaseResultMap" type="com.zzg.system.domain.SysLayer">
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
<result property="name" column="name" jdbcType="VARCHAR"/>
|
<result property="url" column="url" jdbcType="VARCHAR"/>
|
<result property="urlType" column="url_type" jdbcType="VARCHAR"/>
|
<result property="parentId" column="parent_id" jdbcType="VARCHAR"/>
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
<result property="type" column="type" jdbcType="INTEGER"/>
|
</resultMap>
|
|
<sql id="Base_Column_List">
|
id
|
,name,url, url_type, parent_id, create_time
|
</sql>
|
|
<select id="selectAll" resultType="com.zzg.system.domain.SysLayer">
|
select * from sys_layer
|
</select>
|
|
</mapper>
|