|
@@ -21,6 +21,7 @@
|
|
|
<result property="communityId" column="community_id"/>
|
|
|
<result property="chooseReason" column="choose_reason"/>
|
|
|
<result property="hit" column="hit_"/>
|
|
|
+ <result property="offerId" column="offer_id"/>
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.campus.modules.base.entity.ApplicationMiddle">
|
|
|
<!--
|
|
@@ -30,7 +31,7 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_application_middle
|
|
|
- (id_,create_by,create_time,update_by,update_time,del_flag,type_,status_,category_id,now_address,person_id,school_id,student_id,street_id,community_id,choose_reason,hit_)
|
|
|
+ (id_,create_by,create_time,update_by,update_time,del_flag,type_,status_,category_id,now_address,person_id,school_id,student_id,street_id,community_id,choose_reason,hit_,offer_id)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType= VARCHAR }
|
|
@@ -50,6 +51,7 @@
|
|
|
,#{communityId,jdbcType=VARCHAR}
|
|
|
,#{chooseReason,jdbcType=VARCHAR}
|
|
|
,#{hit,jdbcType=VARCHAR}
|
|
|
+,#{offerId,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -107,6 +109,9 @@
|
|
|
<if test="hit != null">
|
|
|
hit_=#{hit,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="offerId!=null">
|
|
|
+ offer_id=#{offerId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|