Browse Source

关键字

da-xian 1 day ago
parent
commit
9a5cca1ffa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/mapping/cquery/CdOrganizationCQuery.xml

+ 2 - 2
src/main/resources/mapping/cquery/CdOrganizationCQuery.xml

@@ -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