123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper
- PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.ruoyi.syzy.mapper.BBusiWishUniversitiesMapper">
- <resultMap type="BBusiWishUniversities" id="BBusiWishUniversitiesResult">
- <result property="id" column="id" />
- <result property="code" column="code" />
- <result property="name" column="name" />
- <result property="logo" column="logo" />
- <result property="location" column="location" />
- <result property="managerType" column="managerType" />
- <result property="type" column="type" />
- <result property="level" column="level" />
- <result property="ylxx" column="ylxx" />
- <result property="ylxk" column="ylxk" />
- <result property="yjsy" column="yjsy" />
- <result property="dlxy" column="dlxy" />
- <result property="mbgx" column="mbgx" />
- <result property="tel" column="tel" />
- <result property="url" column="url" />
- <result property="favorities" column="favorities" />
- <result property="createTime" column="createTime" />
- <result property="status" column="status" />
- <result property="numberOfBSH" column="numberOfBSH" />
- <result property="numberOfStu" column="numberOfStu" />
- <result property="comScore" column="comScore" />
- <result property="rankingOfEdu" column="rankingOfEdu" />
- <result property="ranking" column="ranking" />
- <result property="createdYear" column="createdYear" />
- <result property="shuoShiZBWZ" column="shuoShiZBWZ" />
- <result property="vrUrl" column="vrUrl" />
- <result property="motto" column="motto" />
- <result property="zhaoBanWZ" column="zhaoBanWZ" />
- <result property="shortName" column="shortName" />
- <result property="cityName" column="cityName" />
- <result property="enName" column="enName" />
- <result property="introduction" column="introduction" />
- <result property="star" column="star" />
- <result property="vrShortUrl" column="vrShortUrl" />
- <result property="celebrateDay" column="celebrateDay" />
- <result property="natureType" column="natureType" />
- <result property="majorRule" column="majorRule" />
- <result property="pointsOfBo" column="pointsOfBo" />
- <result property="pointsOfShuo" column="pointsOfShuo" />
- <result property="bxLevel" column="bxLevel" />
- <result property="features" column="features" />
- <result property="entranceType" column="entranceType" />
- <result property="shuoShiZBDH" column="shuoShiZBDH" />
- <result property="bxType" column="bxType" />
- <result property="zhaoBanDH" column="zhaoBanDH" />
- <result property="nameUsed" column="nameUsed" />
- <result property="address" column="address" />
- <result property="awards" column="awards" />
- <result property="hits" column="hits" />
- <result property="natureTypeCN" column="natureTypeCN" />
- <result property="bannerUrl" column="bannerUrl" />
- <result property="webSite" column="webSite" />
- <result property="area" column="area" />
- <result property="enrollLocation" column="enrollLocation" />
- <result property="collect" column="collect" />
- </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
- from b_busi_wish_universities
- </sql>
- <select id="listForCourses" parameterType="String" resultType="java.lang.Long">
- select id from b_busi_wish_universities where status>0 ${qw}
- <!--order by (SELECT code from b_busi_wish_universities t2 where t2.id=universityId) asc-->
- </select>
- <select id="selectBBusiWishUniversitiesListSimpleByIds" parameterType="map" resultMap="BBusiWishUniversitiesResult">
- select id, code, name, logo, location, managerType, type, level,
- comScore,rankingOfEdu,ranking,cityName,
- bxLevel,features,hits,natureTypeCN,bannerUrl,webSite,area,enrollLocation,collect,star,address
- from b_busi_wish_universities where status>0 and
- id in <foreach item="o" collection="ids" open="(" separator="," close=")">#{o}</foreach>
- order by code
- <!--if test="params.orderBy!=null and params.orderBy != ''"> order by #{params.orderBy} </if-->
- <!--if test="params.limit!=null and params.limit != ''"> limit #{params.limit} </if-->
- </select>
- <select id="selectBBusiWishUniversitiesList" parameterType="BBusiWishUniversities" resultMap="BBusiWishUniversitiesResult">
- <include refid="selectBBusiWishUniversitiesVo" />
- <where>
- status>0
- <if test="code != null and code != ''"> and code = #{code}</if>
- <if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
- <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="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>
- <if test="ylxx != null "> and ylxx = #{ylxx}</if>
- <if test="ylxk != null "> and ylxk = #{ylxk}</if>
- <if test="yjsy != null "> and yjsy = #{yjsy}</if>
- <if test="dlxy != null "> and dlxy = #{dlxy}</if>
- <if test="mbgx != null "> and mbgx = #{mbgx}</if>
- <if test="tel != null and tel != ''"> and tel = #{tel}</if>
- <if test="url != null and url != ''"> and url = #{url}</if>
- <if test="favorities != null "> and favorities = #{favorities}</if>
- <if test="createTime != null "> and createTime = #{createTime}</if>
- <if test="status != null "> and status = #{status}</if>
- <if test="natureTypeCN != null and natureTypeCN != ''"> and natureTypeCN like concat('%', #{natureTypeCN}, '%')</if>
- <if test="features != null and features != ''"> and features like concat('%', #{features}, '%')</if>
- </where>
- <if test="params.orderBy!=null and params.orderBy != ''"> order by #{params.orderBy} </if>
- </select>
- <select id="listMyByPage" parameterType="String" resultMap="BBusiWishUniversitiesResult">
- select u.id, code, name, logo, location, managerType, type, level,
- comScore,rankingOfEdu,ranking,cityName,
- bxLevel,features,hits,natureTypeCN,bannerUrl,webSite,area,enrollLocation,collect,star,address
- from b_customer_universities cu join b_busi_wish_universities u on cu.universityId = u.id
- <where>
- cu.status>0
- <if test="customerCode != null and customerCode != ''"> and cu.customerCode = #{customerCode}</if>
- </where>
- order by cu.createTime desc
- </select>
- <select id="selectMajorWishUniversitiesListSimpleByMap" parameterType="map" resultMap="BBusiWishUniversitiesResult">
- SELECT DISTINCT u.id, u.code, u.name, logo, u.location, u.managerType, u.type, u.level, u.comScore,u.rankingOfEdu,u.ranking,u.cityName,
- u.bxLevel,u.features,u.hits,u.natureTypeCN,u.bannerUrl,u.webSite,u.area,u.enrollLocation,u.collect,u.star,u.address
- FROM `b_busi_wish_universities` u
- <where>
- u.status >0
- <if test="enrollLocation != null and enrollLocation != ''"> and (u.`enrollLocation` = #{enrollLocation} or u.`enrollLocation` like '%全国%')</if>
- <if test="id != null"> and u.id = #{id}</if>
- <if test="code != null and code != ''"> and u.code = #{code}</if>
- <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="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>
- <if test="natureTypeCNs != null"> and <foreach item="o" collection="natureTypeCNs" open="(" separator=" OR " close=")">u.natureTypeCN like concat('%', #{o}, '%')</foreach></if>
- <if test="featureses!= null"> and <foreach item="o" collection="featureses" open="(" separator=" OR " close=")">u.features like concat('%', #{o}, '%')</foreach></if>
- <if test="bxTypes!= null"> and <foreach item="o" collection="bxTypes" open="(" separator=" OR " close=")">u.bxType like concat('%', #{o}, '%')</foreach></if>
- <if test="enrollLocations!= null"> and <foreach item="o" collection="enrollLocations" open="(" separator=" OR " close=")">u.enrollLocation like concat('%', #{o}, '%')</foreach></if>
- <if test="stars!= null"> and <foreach item="o" collection="stars" open="(" separator=" OR " close=")">u.star like concat('%', #{o}, '%')</foreach></if>
- <if test="filterRank!= null and filterRank"> and u.star > 0 </if>
- <if test="codes!= null">
- and u.code in
- <foreach item="code" collection="codes" open="(" separator="," close=")">
- #{code}
- </foreach>
- </if>
- </where>
- <choose>
- <when test="filterRank!= null and filterRank"> order by u.star desc, u.code </when>
- <otherwise> order by IF(u.`location` = #{rankLocation}, 0, 1), u.code</otherwise>
- </choose>
- </select>
- <select id="selectMajorWishUniversitiesListSimpleByMap2" parameterType="map" resultMap="BBusiWishUniversitiesResult">
- SELECT DISTINCT u.id, u.code, u.name, logo, u.location, u.managerType, u.type, u.level, u.comScore,u.rankingOfEdu,u.ranking,u.cityName,
- u.bxLevel,u.features,u.hits,u.natureTypeCN,u.bannerUrl,u.webSite,u.area,u.enrollLocation,u.collect,u.star,u.address
- FROM `b_busi_wish_university_submit_recruit_plan` p
- JOIN `b_busi_wish_universities` u ON p.`universityId` = u.`id`
- <if test="majorCategory != null and majorCategory != ''">
- JOIN `sy_major` m1 ON m1.`name` = p.`marjorName` and m1.`exam_type` = u.entranceType
- JOIN `sy_major` m2 ON m1.`parent_code` = m2.`code` and m2.`exam_type` = m1.`exam_type`
- JOIN `sy_major` m3 ON m2.`parent_code` = m3.`code` and m3.`exam_type` = m1.`exam_type`
- </if>
- <where>
- u.status>0
- <if test="enrollLocation != null and enrollLocation != ''"> and (u.`enrollLocation` = #{enrollLocation} or u.`enrollLocation` like '%全国%')</if>
- <if test="majorCategory != null and majorCategory != ''"> and m3.`code` = #{majorCategory}</if>
- <if test="id != null"> and u.id = #{id}</if>
- <if test="year != null"> and p.year = #{year}</if>
- <if test="code != null and code != ''"> and u.code = #{code}</if>
- <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="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>
- <if test="levels != null"> and u.level in <foreach item="o" collection="levels" open="(" separator="," close=")">#{o}</foreach></if>
- <if test="natureTypeCNs != null"> and <foreach item="o" collection="natureTypeCNs" open="(" separator=" OR " close=")">u.natureTypeCN like concat('%', #{o}, '%')</foreach></if>
- <if test="featureses!= null"> and <foreach item="o" collection="featureses" open="(" separator=" OR " close=")">u.features like concat('%', #{o}, '%')</foreach></if>
- <if test="bxTypes!= null"> and <foreach item="o" collection="bxTypes" open="(" separator=" OR " close=")">u.bxType like concat('%', #{o}, '%')</foreach></if>
- <if test="enrollLocations!= null"> and <foreach item="o" collection="enrollLocations" open="(" separator=" OR " close=")">u.enrollLocation like concat('%', #{o}, '%')</foreach></if>
- <if test="stars!= null"> and <foreach item="o" collection="stars" open="(" separator=" OR " close=")">u.star like concat('%', #{o}, '%')</foreach></if>
- <if test="majorCodes!= null">
- and u.code in (select distinct t2.collegeCode from b_busi_wish_universities_profession t2 where t2.code in <foreach item="majorCode" collection="majorCodes" open="(" separator="," close=")">#{majorCode}</foreach>
- <if test="examMajor != null "> and t2.examMajor = #{examMajor}</if>
- )
- </if>
- <if test="codes!= null">
- and u.code in
- <foreach item="code" collection="codes" open="(" separator="," close=")">
- #{code}
- </foreach>
- </if>
- </where>
- <choose>
- <when test="filterRank!= null and filterRank"> order by if(u.ranking = 0, 9999, u.ranking), u.code </when>
- <otherwise>order by u.code</otherwise>
- </choose>
- </select>
- <select id="selectBBusiWishUniversitiesListSimpleByMap" parameterType="map" resultMap="BBusiWishUniversitiesResult">
- select id, code, name, logo, location, managerType, type, level,
- comScore,rankingOfEdu,ranking,cityName,
- bxLevel,features,hits,natureTypeCN,bannerUrl,webSite,area,enrollLocation,collect,star,address
- from b_busi_wish_universities
- <where>
- status>0
- <if test="id != null"> and id = #{id}</if>
- <if test="code != null and code != ''"> and code = #{code}</if>
- <if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
- <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="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>
- <if test="natureTypeCNs != null"> and <foreach item="o" collection="natureTypeCNs" open="(" separator=" OR " close=")">natureTypeCN like concat('%', #{o}, '%')</foreach></if>
- <if test="featureses!= null"> and <foreach item="o" collection="featureses" open="(" separator=" OR " close=")">features like concat('%', #{o}, '%')</foreach></if>
- <if test="bxTypes!= null"> and <foreach item="o" collection="bxTypes" open="(" separator=" OR " close=")">bxType like concat('%', #{o}, '%')</foreach></if>
- <if test="stars!= null"> and <foreach item="o" collection="stars" open="(" separator=" OR " close=")">star like concat('%', #{o}, '%')</foreach></if>
- <if test="filterRank!= null and filterRank"> and star > 0 </if>
- <if test="majorCodes!= null">
- and code in (select distinct t2.collegeCode from b_busi_wish_universities_profession t2 where 1=1 and t2.code in
- <foreach item="majorCode" collection="majorCodes" open="(" separator="," close=")">
- #{majorCode}
- </foreach>
- )
- </if>
- <if test="codes!= null">
- and code in
- <foreach item="code" collection="codes" open="(" separator="," close=")">
- #{code}
- </foreach>
- </if>
- </where>
- <choose>
- <when test="filterRank!= null and filterRank"> order by star desc, code </when>
- <otherwise> code</otherwise>
- </choose>
- </select>
- <select id="selectBBusiWishUniversitiesListSimple" parameterType="BBusiWishUniversities" resultMap="BBusiWishUniversitiesResult">
- select id, code, name, logo, location, managerType, type, level,
- comScore,rankingOfEdu,ranking,cityName,
- bxLevel,features,hits,natureTypeCN,bannerUrl,webSite,area,enrollLocation,collect
- from b_busi_wish_universities
- <where>
- status>0
- <if test="id != null"> and id = #{id}</if>
- <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="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>
- <if test="status != null "> and status = #{status}</if>
- <if test="natureTypeCN != null and natureTypeCN != ''"> and natureTypeCN like concat('%', #{natureTypeCN}, '%')</if>
- <if test="features != null and features != ''"> and features like concat('%', #{features}, '%')</if>
- </where>
- order by code
- <!--if test="params.orderBy!=null and params.orderBy != ''"> order by #{params.orderBy} </if-->
- <!--if test="params.limit!=null and params.limit != ''"> limit #{params.limit} </if-->
- </select>
- <select id="selectBBusiWishUniversitiesById" parameterType="Long" resultMap="BBusiWishUniversitiesResult">
- <include refid="selectBBusiWishUniversitiesVo" />
- where status>0 and id = #{id}
- </select>
- <select id="selectBBusiWishUniversitiesByCode" parameterType="String" resultMap="BBusiWishUniversitiesResult">
- <include refid="selectBBusiWishUniversitiesVo" />
- where status>0 and code = #{code}
- </select>
- <select id="listByMajorId" parameterType="Long" resultMap="BBusiWishUniversitiesResult">
- select id, code, name from b_busi_wish_universities
- where status>0
- and id in( select universityId from b_busi_wish_university_marjors where status>0 and marjorsId= #{majorId})
- </select>
- <select id="selectBBusiWishUniversitiesLocations" parameterType="String" resultMap="BBusiWishUniversitiesResult">
- SELECT distinct location 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>
- <select id="selectBBusiWishUniversitiesNatureTypes" parameterType="String" resultMap="BBusiWishUniversitiesResult">
- SELECT distinct natureTypeCN from b_busi_wish_universities where status>0 and natureTypeCN is not null and natureTypeCN !='' and entranceType = #{entranceType}
- </select>
- <select id="selectBBusiWishUniversitiesFeatures" parameterType="String" resultMap="BBusiWishUniversitiesResult">
- SELECT distinct features from b_busi_wish_universities where status>0 and features is not null and features !='' and entranceType = #{entranceType}
- </select>
- <select id="selectBBusiWishUniversitiesBxTypes" parameterType="String" resultMap="BBusiWishUniversitiesResult">
- SELECT distinct bxType from b_busi_wish_universities where status>0 and bxType is not null and bxType !='' and entranceType = #{entranceType}
- </select>
- <select id="selectBBusiWishUniversitiesLevels" parameterType="String" resultMap="BBusiWishUniversitiesResult">
- SELECT distinct level from b_busi_wish_universities where status>0 and level is not null and level !='' and entranceType = #{entranceType}
- </select>
- <insert id="insertBBusiWishUniversities" parameterType="BBusiWishUniversities" useGeneratedKeys="true" keyProperty="id">
- insert into b_busi_wish_universities
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="code != null">code,</if>
- <if test="name != null and name != ''">name,</if>
- <if test="logo != null">logo,</if>
- <if test="location != null">location,</if>
- <if test="managerType != null">managerType,</if>
- <if test="type != null">type,</if>
- <if test="level != null">level,</if>
- <if test="ylxx != null">ylxx,</if>
- <if test="ylxk != null">ylxk,</if>
- <if test="yjsy != null">yjsy,</if>
- <if test="dlxy != null">dlxy,</if>
- <if test="mbgx != null">mbgx,</if>
- <if test="tel != null">tel,</if>
- <if test="url != null">url,</if>
- <if test="favorities != null">favorities,</if>
- <if test="createTime != null">createTime,</if>
- <if test="status != null">status,</if>
- <if test="logo != null and logo != ''">logo,</if>
- <if test="bannerUrl != null and bannerUrl != ''">bannerUrl,</if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="code != null">#{code},</if>
- <if test="name != null and name != ''">#{name},</if>
- <if test="logo != null">#{logo},</if>
- <if test="location != null">#{location},</if>
- <if test="managerType != null">#{managerType},</if>
- <if test="type != null">#{type},</if>
- <if test="level != null">#{level},</if>
- <if test="ylxx != null">#{ylxx},</if>
- <if test="ylxk != null">#{ylxk},</if>
- <if test="yjsy != null">#{yjsy},</if>
- <if test="dlxy != null">#{dlxy},</if>
- <if test="mbgx != null">#{mbgx},</if>
- <if test="tel != null">#{tel},</if>
- <if test="url != null">#{url},</if>
- <if test="favorities != null">#{favorities},</if>
- <if test="createTime != null">#{createTime},</if>
- <if test="status != null">#{status},</if>
- <if test="logo != null and logo != ''">#{logo},</if>
- <if test="bannerUrl != null and bannerUrl != ''"> #{bannerUrl},</if>
- </trim>
- </insert>
- <update id="updateBBusiWishUniversities" parameterType="BBusiWishUniversities">
- update b_busi_wish_universities
- <trim prefix="SET" suffixOverrides=",">
- <if test="code != null">code = #{code},</if>
- <if test="name != null and name != ''">name = #{name},</if>
- <if test="logo != null">logo = #{logo},</if>
- <if test="location != null">location = #{location},</if>
- <if test="managerType != null">managerType = #{managerType},</if>
- <if test="type != null">type = #{type},</if>
- <if test="level != null">level = #{level},</if>
- <if test="ylxx != null">ylxx = #{ylxx},</if>
- <if test="ylxk != null">ylxk = #{ylxk},</if>
- <if test="yjsy != null">yjsy = #{yjsy},</if>
- <if test="dlxy != null">dlxy = #{dlxy},</if>
- <if test="mbgx != null">mbgx = #{mbgx},</if>
- <if test="tel != null">tel = #{tel},</if>
- <if test="url != null">url = #{url},</if>
- <if test="favorities != null">favorities = #{favorities},</if>
- <if test="hits != null">hits = #{hits},</if>
- <if test="createTime != null">createTime = #{createTime},</if>
- <if test="status != null">status = #{status},</if>
- <if test="logo != null and logo != ''">logo = #{logo},</if>
- <if test="bannerUrl != null and bannerUrl != ''">bannerUrl = #{bannerUrl},</if>
- </trim>
- where id = #{id}
- </update>
- <update id="updateCollect">
- update b_busi_wish_universities SET collect = collect + #{collect}
- where id = #{id}
- </update>
- <delete id="deleteBBusiWishUniversitiesById" parameterType="Long">
- delete from b_busi_wish_universities where id = #{id}
- </delete>
- <delete id="deleteBBusiWishUniversitiesByIds" parameterType="String">
- delete from b_busi_wish_universities where id in
- <foreach item="id" collection="array" open="(" separator="," close=")">
- #{id}
- </foreach>
- </delete>
- </mapper>
|