|
|
@@ -9,6 +9,7 @@
|
|
|
<result property="feedbackId" column="feedback_id" />
|
|
|
<result property="loveProjectId" column="love_project_id" />
|
|
|
<result property="status" column="status_" />
|
|
|
+ <result property="content" column="content_" />
|
|
|
<result property="cooperativeCompany" column="cooperative_company" />
|
|
|
<result property="contacts" column="contacts" />
|
|
|
<result property="contactsCompany" column="contacts_company" />
|
|
|
@@ -27,13 +28,14 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_participate_project_info
|
|
|
- (id_,reg_user_id,feedback_id,love_project_id,status_,cooperative_company,contacts,contacts_company,create_by,create_time,update_by,update_time,del_flag,completion_time)
|
|
|
+ (id_,reg_user_id,feedback_id,love_project_id,content_,status_,cooperative_company,contacts,contacts_company,create_by,create_time,update_by,update_time,del_flag,completion_time)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
|
,#{regUserId,jdbcType=VARCHAR}
|
|
|
,#{feedbackId,jdbcType=VARCHAR}
|
|
|
,#{loveProjectId,jdbcType=VARCHAR}
|
|
|
+,#{content,jdbcType=VARCHAR}
|
|
|
,#{status,jdbcType=VARCHAR}
|
|
|
,#{cooperativeCompany,jdbcType=VARCHAR}
|
|
|
,#{contacts,jdbcType=VARCHAR}
|
|
|
@@ -62,9 +64,12 @@
|
|
|
<if test="loveProjectId!=null">
|
|
|
love_project_id=#{loveProjectId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="status!=null">
|
|
|
- status_=#{status,jdbcType=VARCHAR},
|
|
|
+ <if test="content!=null">
|
|
|
+ content_=#{content,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="status!=null">
|
|
|
+ status_=#{status,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="cooperativeCompany!=null">
|
|
|
cooperative_company=#{cooperativeCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -168,6 +173,9 @@
|
|
|
<if test="searchParams.status != null">
|
|
|
and status_ = #{searchParams.status}
|
|
|
</if>
|
|
|
+ <if test="searchParams.status == null">
|
|
|
+ and status_ != '3'
|
|
|
+ </if>
|
|
|
</where>
|
|
|
<foreach item="sort" collection="sortList" open="order by" separator=",">
|
|
|
${sort.name} ${sort.order}
|