|
@@ -17,7 +17,9 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getListToTree2" resultType="com.bowintek.smartsearch.vo.cd.CdOrganizationTreeVo">
|
|
|
- select id as value, name as label, parent_id as parentValue
|
|
|
- from by_dwr.org_202411new order by name
|
|
|
+ select id_new as value, new_org as label, pid_new as parentValue
|
|
|
+ from by_dwr.org_20241126
|
|
|
+ where id_new != pid_new or pid_new is null
|
|
|
+ order by sort
|
|
|
</select>
|
|
|
</mapper>
|