From e45bad6cf75f6da4e8002020755cc07a55892e14 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Fri, 29 Jun 2018 09:49:05 +0800
Subject: [PATCH] 接口 升级

---
 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