fengxiang
2018-06-28 51a9ac0eaa65d214b338685b7cb83c21a5a32589
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>