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