area
This commit is contained in:
parent
30e6a135e4
commit
f8d3762aca
|
|
@ -4,6 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.bonus.system.mapper.AllocAreaMapper">
|
<mapper namespace="com.bonus.system.mapper.AllocAreaMapper">
|
||||||
<resultMap type="com.bonus.system.domain.AllocArea" id="AllocAreaResult">
|
<resultMap type="com.bonus.system.domain.AllocArea" id="AllocAreaResult">
|
||||||
|
<result property="id" column="id" />
|
||||||
<result property="areaId" column="area_id" />
|
<result property="areaId" column="area_id" />
|
||||||
<result property="parentId" column="parent_id" />
|
<result property="parentId" column="parent_id" />
|
||||||
<result property="ancestors" column="ancestors" />
|
<result property="ancestors" column="ancestors" />
|
||||||
|
|
@ -18,7 +19,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectAllocAreaVo">
|
<sql id="selectAllocAreaVo">
|
||||||
select area_id, parent_id, ancestors, area_name, order_num, status, del_flag, create_by, create_time, update_by, update_time from sys_alloc_area
|
select id, area_id, parent_id, ancestors, area_name, order_num, status, del_flag,
|
||||||
|
create_by, create_time, update_by, update_time
|
||||||
|
from sys_alloc_area
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectAllocAreaList" parameterType="com.bonus.system.domain.AllocArea" resultMap="AllocAreaResult">
|
<select id="selectAllocAreaList" parameterType="com.bonus.system.domain.AllocArea" resultMap="AllocAreaResult">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue