|
|
@@ -61,13 +61,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="area" column="area" />
|
|
|
<result property="enrollLocation" column="enrollLocation" />
|
|
|
<result property="collect" column="collect" />
|
|
|
+ <result property="tier" column="tier" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectBBusiWishUniversitiesVo">
|
|
|
select id, code, name, logo, location, managerType, type, level, tel, url, favorities, createTime, status,
|
|
|
numberOfBSH,numberOfStu,comScore,rankingOfEdu,ranking,createdYear,shuoShiZBWZ,vrUrl,motto,zhaoBanWZ,shortName,cityName,
|
|
|
enName,introduction,star,vrShortUrl,celebrateDay,natureType,majorRule,pointsOfBo,pointsOfShuo,bxLevel,features,
|
|
|
- entranceType,shuoShiZBDH,bxType,zhaoBanDH,address,hits,natureTypeCN,bannerUrl,webSite,area,enrollLocation,collect
|
|
|
+ entranceType,shuoShiZBDH,bxType,zhaoBanDH,address,hits,natureTypeCN,bannerUrl,webSite,area,enrollLocation,collect,tier
|
|
|
from b_busi_wish_universities
|
|
|
</sql>
|
|
|
|
|
|
@@ -149,6 +150,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="name != null and name != ''"> and u.name like concat('%', #{name}, '%')</if>
|
|
|
<if test="managerType != null and managerType != ''"> and u.managerType = #{managerType}</if>
|
|
|
<if test="status != null "> and u.status = #{status}</if>
|
|
|
+ <if test="tier != null "> and u.tier = #{tier}</if>
|
|
|
<if test="entranceType != null "> and u.entranceType = #{entranceType}</if>
|
|
|
<if test="types != null"> and <foreach item="o" collection="types" open="(" separator=" OR " close=")">u.type like concat('%', #{o}, '%')</foreach></if>
|
|
|
<if test="levels != null"> and u.level in <foreach item="o" collection="levels" open="(" separator="," close=")">#{o}</foreach></if>
|
|
|
@@ -197,6 +199,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="name != null and name != ''"> and u.name like concat('%', #{name}, '%')</if>
|
|
|
<if test="managerType != null and managerType != ''"> and u.managerType = #{managerType}</if>
|
|
|
<if test="status != null "> and u.status = #{status}</if>
|
|
|
+ <if test="tier != null "> and u.tier = #{tier}</if>
|
|
|
<if test="entranceType != null "> and u.entranceType = #{entranceType}</if>
|
|
|
<if test="examMajor != null "> and p.liberalScience = #{examMajor}</if>
|
|
|
<if test="types != null"> and <foreach item="o" collection="types" open="(" separator=" OR " close=")">u.type like concat('%', #{o}, '%')</foreach></if>
|