From 6f5dc4ff458a78ec4ff341ca33b5bd5e99fbc8e5 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Fri, 13 Jul 2018 14:38:18 +0800
Subject: [PATCH] demo
---
src/main/resources/mapper/OrganizationMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/OrganizationMapper.xml b/src/main/resources/mapper/OrganizationMapper.xml
index 242b105..982b7a2 100644
--- a/src/main/resources/mapper/OrganizationMapper.xml
+++ b/src/main/resources/mapper/OrganizationMapper.xml
@@ -1,7 +1,7 @@
<?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.moral.mapper.OrganizationMapper">
- <resultMap id="BaseResultMap" type="com.moral.entity.exp.OrganizationExp">
+ <resultMap id="BaseResultMap" type="com.moral.entity.Organization">
<id column="id" jdbcType="INTEGER" property="id" />
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="rank" jdbcType="INTEGER" property="rank" />
@@ -94,4 +94,7 @@
AND o.city_code = c.city_code
</if>
</select>
+ <select id="selectLowerOrgIds" resultType="java.lang.Integer">
+ call proc_lowerOrgIds_GetByOrgId(#{orgId,jdbcType=INTEGER});
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0