|
@@ -2,12 +2,12 @@
|
|
|
<!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">
|
|
|
<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
|
|
|
</select>
|
|
|
|
|
|
<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
|
|
|
where 1=1
|
|
|
and a2_org_id in
|