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