浏览代码

关键字

da-xian 1 天之前
父节点
当前提交
9a5cca1ffa
共有 1 个文件被更改,包括 2 次插入2 次删除
  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