|
@@ -2,12 +2,12 @@
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
<mapper namespace="com.bowintek.smartsearch.mapper.cquery.CdOrganizationCQuery">
|
|
<mapper namespace="com.bowintek.smartsearch.mapper.cquery.CdOrganizationCQuery">
|
|
<select id="getListToTree" resultType="com.bowintek.smartsearch.vo.cd.CdOrganizationTreeVo">
|
|
<select id="getListToTree" resultType="com.bowintek.smartsearch.vo.cd.CdOrganizationTreeVo">
|
|
- select a2_org_id value, new_org label, parent_id parentValue
|
|
|
|
|
|
+ select a2_org_id as value, new_org as label, parent_id as parentValue
|
|
from by_dwr.org_202409
|
|
from by_dwr.org_202409
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getListByIdList" resultType="com.bowintek.smartsearch.vo.cd.CdOrganizationTreeVo">
|
|
<select id="getListByIdList" resultType="com.bowintek.smartsearch.vo.cd.CdOrganizationTreeVo">
|
|
- select a2_org_id value, new_org label, parent_id parentValue
|
|
|
|
|
|
+ select a2_org_id as value, new_org as label, parent_id as parentValue
|
|
from by_dwr.org_202409
|
|
from by_dwr.org_202409
|
|
where 1=1
|
|
where 1=1
|
|
and a2_org_id in
|
|
and a2_org_id in
|