From 4fb2ce2dc95e4044d4d1f3e76dcf68bf842ae9b0 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Sun, 24 Jun 2018 12:56:21 +0800 Subject: [PATCH] 更新完整json --- 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