|
|
@@ -88,7 +88,7 @@
|
|
|
employer_address, employer_contacts, employer_contacts_mobile,
|
|
|
employer_contacts_mailbox, contacts, status,
|
|
|
release_status, release_date, create_time,
|
|
|
- principal_id, deleted_sign, audit_status, tech_broker_id,boutique,remark)
|
|
|
+ principal_id, deleted_sign, audit_status, tech_broker_id,boutique,remark,urgent_days,urgent_money)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{serialNumber,jdbcType=INTEGER}, #{dataCategory,jdbcType=INTEGER},
|
|
|
#{name,jdbcType=VARCHAR}, #{keyword,jdbcType=VARCHAR}, #{infoSources,jdbcType=INTEGER},
|
|
|
#{industryCategoryA,jdbcType=INTEGER}, #{industryCategoryB,jdbcType=INTEGER}, #{industryCategoryC,jdbcType=INTEGER},
|
|
|
@@ -101,7 +101,7 @@
|
|
|
#{employerContactsMailbox,jdbcType=VARCHAR}, #{contacts,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
|
|
|
#{releaseStatus,jdbcType=INTEGER}, #{releaseDate,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
#{principalId,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}, #{auditStatus,jdbcType=INTEGER},
|
|
|
- #{techBrokerId,jdbcType=VARCHAR},#{boutique,jdbcType=INTEGER},#{remark,jdbcType=VARCHAR})
|
|
|
+ #{techBrokerId,jdbcType=VARCHAR},#{boutique,jdbcType=INTEGER},#{remark,jdbcType=VARCHAR},#{urgentDays,jdbcType=VARCHAR},#{urgentMoney,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.Demand" >
|
|
|
insert into demand
|
|
|
@@ -461,6 +461,12 @@
|
|
|
<if test="remark != null" >
|
|
|
remark = #{remark,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="urgentDays != null" >
|
|
|
+ urgent_days = #{urgentDays,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="urgentMoney != null" >
|
|
|
+ urgent_money = #{urgentMoney,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
@@ -511,7 +517,7 @@
|
|
|
d.id, d.serial_number as serialNumber, d.data_category as dataCategory,
|
|
|
d.name, d.keyword, d.info_sources as infoSources,
|
|
|
ui.username, d.demand_type as demandType, d.validity_period as validityPeriod,
|
|
|
- d.employer_name as employerName, ui.province, d.status,
|
|
|
+ d.employer_name as employerName, ui.province, d.status, d.urgent_days as urgentDays,d.urgent_money as urgentMoney,
|
|
|
d.release_status as releaseStatus, d.release_date as releaseDate, a.name as techBrokerId,d.create_time as createTime,
|
|
|
d.employer_id as employerId, d.audit_status as auditStatus,d.boutique
|
|
|
<if test="hot != null and hot == 1"><!-- 在首页 -->
|
|
|
@@ -699,7 +705,7 @@
|
|
|
d.id, d.serial_number as serialNumber, d.data_category as dataCategory,
|
|
|
d.name, d.keyword, d.info_sources as infoSources,
|
|
|
oi.unit_name as username, d.demand_type as demandType, d.validity_period as validityPeriod,
|
|
|
- d.employer_name as employerName, oi.licence_province as province, d.status,
|
|
|
+ d.employer_name as employerName, oi.licence_province as province, d.status, d.urgent_days as urgentDays,d.urgent_money as urgentMoney,
|
|
|
d.release_status as releaseStatus, d.release_date as releaseDate, a.name as techBrokerId,d.create_time as createTime,
|
|
|
d.employer_id as employerId, d.audit_status as auditStatus,
|
|
|
d.tech_broker_id as techBrokerId,d.boutique
|
|
|
@@ -905,11 +911,10 @@
|
|
|
u.email as mailbox, u.mobile as mobile, d.audit_status as auditStatus,
|
|
|
d.employer_address as employerAddress, d.employer_contacts_mobile as employerContactsMobile,
|
|
|
d.employer_contacts_mailbox as employerContactsMailbox, d.employer_name as employerName,
|
|
|
- d.tech_broker_id as techBrokerId, u.mobile as contactsName,
|
|
|
+ d.tech_broker_id as techBrokerId, u.mobile as contactsName,d.urgent_days as urgentDays,d.urgent_money as urgentMoney,
|
|
|
d.boutique,ifnull(mm.effective,0) as hot,mm.cover_img as coverImg,d.remark
|
|
|
from demand d
|
|
|
left join user_identity ui on ui.uid = d.employer_id
|
|
|
- <!-- left join user_info info on info.uid = d.employer_id -->
|
|
|
left join user u on u.id = d.employer_id
|
|
|
left join marketing_management mm on d.id = mm.product_id
|
|
|
where d.data_category = 0 and d.id = #{id,jdbcType=VARCHAR}
|
|
|
@@ -928,7 +933,7 @@
|
|
|
d.budget_cost as budgetCost, d.fixed_cycle as fixedCycle, d.people_number as peopleNumber,
|
|
|
d.fixed_scheme as fixedScheme, d.cost_escrow as costEscrow, d.employer_id as employerId,
|
|
|
oi.postal_address as address, u.email as mailbox, d.contacts, d.audit_status as auditStatus,
|
|
|
- d.tech_broker_id as techBrokerId,d.remark,
|
|
|
+ d.tech_broker_id as techBrokerId,d.remark,d.urgent_days as urgentDays,d.urgent_money as urgentMoney,
|
|
|
d.employer_address as employerAddress, d.employer_contacts_mobile as employerContactsMobile,
|
|
|
d.employer_contacts_mailbox as employerContactsMailbox, d.employer_name as employerName,
|
|
|
d.boutique,ifnull(mm.effective,0) as hot,mm.cover_img as coverImg
|
|
|
@@ -1047,7 +1052,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)
|
|
|
+ employer_contacts, employer_contacts_mobile, employer_contacts_mailbox, info_sources,tech_broker_id,remark,urgent_days ,urgent_money)
|
|
|
values
|
|
|
<foreach item="item" index="index" collection="list" separator=",">
|
|
|
(
|
|
|
@@ -1056,7 +1061,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.infoSources,jdbcType=INTEGER},#{item.techBrokerId,jdbcType=VARCHAR},#{item.remark,jdbcType=VARCHAR},,#{item.urgentDays,jdbcType=VARCHAR},#{item.urgentMoney,jdbcType=VARCHAR}
|
|
|
)
|
|
|
</foreach>
|
|
|
</insert>
|