Althars123 %!s(int64=3) %!d(string=hai) anos
pai
achega
245babcbd1

+ 1 - 1
twzd-service/src/main/resources/mapper/school/SchoolInfoMapper.xml

@@ -35,7 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </select>
 
     <select id="queryNames" resultType="map">
-        select distinct ${choseColumName} as name , ${choseColumName} as code from school_info where ${choseColumName} is not null
+        select distinct ${choseColumName} as name , ${choseColumCode} as code from school_info where ${choseColumName} is not null
         <if test="conditionColumName1 != null  and conditionColumName1 != ''">
         and ${conditionColumName1} = #{value1}
       </if>