1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| <?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.fzzy.igds.sys.mapper.DicAreaMapper">
|
| <!-- 获取区域列表 -->
| <select id="listDicArea" resultType="com.fzzy.igds.dzhwk.domain.DicArea"
| parameterType="com.fzzy.igds.dzhwk.data.BaseParam">
| select
| CODE_ as code,
| NAME_ as name,
| TYPE_ as type,
| SIMPLE_ as simple
| from D_DIC_AREA
| <where>
| <if test="param.key != null">AND (NAME_ like "%"#{param.key}"%" OR SIMPLE_ like "%"#{param.key}"%" )</if>
| </where>
| order by CODE_
| </select>
|
| </mapper>
|
|