Althars123 3 年之前
父節點
當前提交
245babcbd1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      twzd-service/src/main/resources/mapper/school/SchoolInfoMapper.xml

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