|
|
@@ -488,6 +488,9 @@
|
|
|
<if test="crowdCost!=null">
|
|
|
crowd_cost=#{crowdCost,jdbcType=DECIMAL}
|
|
|
</if>
|
|
|
+ <if test="isHot!=null">
|
|
|
+ is_hot=#{isHot,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -652,7 +655,7 @@
|
|
|
status, release_status, create_time,
|
|
|
keyword, data_category, name,
|
|
|
demand_type, problem_des, employer_name,
|
|
|
- employer_contacts, employer_contacts_mobile, employer_contacts_mailbox, info_sources,tech_broker_id,remark,urgent_days ,urgent_money)
|
|
|
+ employer_contacts, employer_contacts_mobile, employer_contacts_mailbox, info_sources,tech_broker_id,remark,urgent_days ,urgent_money,is_hot)
|
|
|
values
|
|
|
<foreach item="item" index="index" collection="list" separator=",">
|
|
|
(
|
|
|
@@ -661,7 +664,7 @@
|
|
|
#{item.keyword,jdbcType=VARCHAR}, #{item.dataCategory,jdbcType=INTEGER}, #{item.name,jdbcType=VARCHAR},
|
|
|
#{item.demandType,jdbcType=INTEGER}, #{item.problemDes,jdbcType=VARCHAR}, #{item.employerName,jdbcType=VARCHAR},
|
|
|
#{item.employerContacts,jdbcType=VARCHAR}, #{item.employerContactsMobile,jdbcType=VARCHAR}, #{item.employerContactsMailbox,jdbcType=VARCHAR},
|
|
|
- #{item.infoSources,jdbcType=INTEGER},#{item.techBrokerId,jdbcType=VARCHAR},#{item.remark,jdbcType=VARCHAR},,#{item.urgentDays,jdbcType=VARCHAR},#{item.urgentMoney,jdbcType=VARCHAR}
|
|
|
+ #{item.infoSources,jdbcType=INTEGER},#{item.techBrokerId,jdbcType=VARCHAR},#{item.remark,jdbcType=VARCHAR},,#{item.urgentDays,jdbcType=VARCHAR},#{item.urgentMoney,jdbcType=VARCHAR},#{isHot,jdbcType=INTEGER}
|
|
|
)
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
@@ -684,7 +687,8 @@
|
|
|
dgg.name AS city,
|
|
|
interest.id as interestId,
|
|
|
d.employer_name as employerName,
|
|
|
- u.lvl as level
|
|
|
+ u.lvl as level,
|
|
|
+ d.is_hot as isHot
|
|
|
FROM
|
|
|
demand d
|
|
|
LEFT JOIN `user` u on u.id = d.employer_id
|