|
|
@@ -108,6 +108,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="logo != null and logo != ''"> and logo like concat('%', #{logo}, '%')</if>
|
|
|
<if test="bannerUrl != null and bannerUrl != ''"> and bannerUrl like concat('%', #{bannerUrl}, '%')</if>
|
|
|
<if test="location != null and location != ''"> and location = #{location}</if>
|
|
|
+ <if test="cityName != null and cityName != ''"> and cityName = #{cityName}</if>
|
|
|
<if test="managerType != null and managerType != ''"> and managerType = #{managerType}</if>
|
|
|
<if test="type != null and type != ''"> and type like concat('%', #{type}, '%')</if>
|
|
|
<if test="level != null and level != ''"> and level = #{level}</if>
|
|
|
@@ -153,6 +154,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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="location != null and location != ''"> and location = #{location}</if>
|
|
|
+ <if test="cityName != null and cityName != ''"> and cityName = #{cityName}</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>
|
|
|
<if test="tiers != null"> and u.tier in <foreach item="o" collection="tiers" open="(" separator="," close=")">#{o}</foreach></if>
|
|
|
@@ -203,6 +206,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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="location != null and location != ''"> and location = #{location}</if>
|
|
|
+ <if test="cityName != null and cityName != ''"> and cityName = #{cityName}</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>
|
|
|
<if test="tiers != null"> and u.tier in <foreach item="o" collection="tiers" open="(" separator="," close=")">#{o}</foreach></if>
|
|
|
@@ -244,7 +249,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="managerType != null and managerType != ''"> and managerType = #{managerType}</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
<if test="entranceType != null "> and u.entranceType = #{entranceType}</if>
|
|
|
-
|
|
|
+ <if test="location != null and location != ''"> and location = #{location}</if>
|
|
|
+ <if test="cityName != null and cityName != ''"> and cityName = #{cityName}</if>
|
|
|
<if test="locations != null"> and location in <foreach item="o" collection="locations" open="(" separator="," close=")">#{o}</foreach></if>
|
|
|
<if test="types != null"> and <foreach item="o" collection="types" open="(" separator=" OR " close=")">type like concat('%', #{o}, '%')</foreach></if>
|
|
|
<if test="levels != null"> and level in <foreach item="o" collection="levels" open="(" separator="," close=")">#{o}</foreach></if>
|
|
|
@@ -285,6 +291,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="code != null and code != ''"> and code = #{code}</if>
|
|
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
|
|
<if test="location != null and location != ''"> and location = #{location}</if>
|
|
|
+ <if test="cityName != null and cityName != ''"> and cityName = #{cityName}</if>
|
|
|
<if test="managerType != null and managerType != ''"> and managerType = #{managerType}</if>
|
|
|
<if test="type != null and type != ''"> and type like concat('%', #{type}, '%')</if>
|
|
|
<if test="level != null and level != ''"> and level = #{level}</if>
|
|
|
@@ -318,6 +325,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
ORDER BY CONVERT( location USING gbk ) COLLATE gbk_chinese_ci ASC
|
|
|
</select>
|
|
|
|
|
|
+ <select id="selectBBusiWishUniversitiesLocations2" parameterType="String" resultMap="BBusiWishUniversitiesResult">
|
|
|
+ SELECT distinct location,cityName from b_busi_wish_universities where entranceType = #{entranceType}
|
|
|
+ ORDER BY CONVERT( location USING gbk ) COLLATE gbk_chinese_ci ASC
|
|
|
+ </select>
|
|
|
+
|
|
|
<select id="selectBBusiWishUniversitiesTypes" parameterType="String" resultMap="BBusiWishUniversitiesResult">
|
|
|
SELECT distinct type from b_busi_wish_universities where status>0 and type is not null and type !='' and entranceType = #{entranceType}
|
|
|
</select>
|