|
|
@@ -8,6 +8,7 @@
|
|
|
<result column="activity_name" property="activityName" jdbcType="VARCHAR" />
|
|
|
<result column="start_date" property="startDate" jdbcType="TIMESTAMP" />
|
|
|
<result column="end_date" property="endDate" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="participant" property="participant" jdbcType="VARCHAR" />
|
|
|
<result column="technical_field1" property="technicalField1" jdbcType="VARCHAR" />
|
|
|
<result column="technical_field2" property="technicalField2" jdbcType="VARCHAR" />
|
|
|
<result column="technical_field3" property="technicalField3" jdbcType="VARCHAR" />
|
|
|
@@ -20,13 +21,14 @@
|
|
|
<result column="implement" property="implement" jdbcType="VARCHAR" />
|
|
|
<result column="technology_innovation" property="technologyInnovation" jdbcType="VARCHAR" />
|
|
|
<result column="achievement" property="achievement" jdbcType="VARCHAR" />
|
|
|
+ <result column="proof_url" property="proofUrl" jdbcType="VARCHAR" />
|
|
|
<result column="deleted_sign" property="deletedSign" jdbcType="INTEGER" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
|
- id, uid, activity_number, activity_name, start_date, end_date, technical_field1,
|
|
|
+ id, uid, activity_number, activity_name, start_date, end_date, participant, technical_field1,
|
|
|
technical_field2, technical_field3, technical_source, intellectual_property_number,
|
|
|
budget, first_year_expenditure, second_year_expenditure, third_year_expenditure,
|
|
|
- implement, technology_innovation, achievement, deleted_sign
|
|
|
+ implement, technology_innovation, achievement, proof_url, deleted_sign
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
select
|
|
|
@@ -40,20 +42,20 @@
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.goafanti.common.model.OrgActivity" >
|
|
|
insert into org_activity (id, uid, activity_number,
|
|
|
- activity_name, start_date, end_date,
|
|
|
+ activity_name, start_date, end_date, participant,
|
|
|
technical_field1, technical_field2, technical_field3,
|
|
|
technical_source, intellectual_property_number,
|
|
|
budget, first_year_expenditure, second_year_expenditure,
|
|
|
third_year_expenditure, implement, technology_innovation,
|
|
|
- achievement, deleted_sign
|
|
|
+ achievement, proof_url, deleted_sign
|
|
|
)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{activityNumber,jdbcType=VARCHAR},
|
|
|
- #{activityName,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP},
|
|
|
+ #{activityName,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP}, #{participant,jdbcType=VARCHAR},
|
|
|
#{technicalField1,jdbcType=VARCHAR}, #{technicalField2,jdbcType=VARCHAR}, #{technicalField3,jdbcType=VARCHAR},
|
|
|
#{technicalSource,jdbcType=INTEGER}, #{intellectualPropertyNumber,jdbcType=VARCHAR},
|
|
|
#{budget,jdbcType=INTEGER}, #{firstYearExpenditure,jdbcType=INTEGER}, #{secondYearExpenditure,jdbcType=INTEGER},
|
|
|
#{thirdYearExpenditure,jdbcType=INTEGER}, #{implement,jdbcType=VARCHAR}, #{technologyInnovation,jdbcType=VARCHAR},
|
|
|
- #{achievement,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}
|
|
|
+ #{achievement,jdbcType=VARCHAR}, #{proofUrl,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}
|
|
|
)
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.OrgActivity" >
|
|
|
@@ -77,6 +79,9 @@
|
|
|
<if test="endDate != null" >
|
|
|
end_date,
|
|
|
</if>
|
|
|
+ <if test="participant != null" >
|
|
|
+ participant,
|
|
|
+ </if>
|
|
|
<if test="technicalField1 != null" >
|
|
|
technical_field1,
|
|
|
</if>
|
|
|
@@ -113,6 +118,9 @@
|
|
|
<if test="achievement != null" >
|
|
|
achievement,
|
|
|
</if>
|
|
|
+ <if test="proofUrl != null" >
|
|
|
+ proof_url,
|
|
|
+ </if>
|
|
|
<if test="deletedSign != null" >
|
|
|
deleted_sign,
|
|
|
</if>
|
|
|
@@ -136,6 +144,9 @@
|
|
|
<if test="endDate != null" >
|
|
|
#{endDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="participant != null" >
|
|
|
+ #{participant,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="technicalField1 != null" >
|
|
|
#{technicalField1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -172,6 +183,9 @@
|
|
|
<if test="achievement != null" >
|
|
|
#{achievement,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="proofUrl != null" >
|
|
|
+ #{proofUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="deletedSign != null" >
|
|
|
#{deletedSign,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -195,6 +209,9 @@
|
|
|
<if test="endDate != null" >
|
|
|
end_date = #{endDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="participant != null" >
|
|
|
+ participant = #{participant,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="technicalField1 != null" >
|
|
|
technical_field1 = #{technicalField1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -231,6 +248,9 @@
|
|
|
<if test="achievement != null" >
|
|
|
achievement = #{achievement,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="proofUrl != null" >
|
|
|
+ proofUrl = #{proofUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="deletedSign != null" >
|
|
|
deleted_sign = #{deletedSign,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
@@ -244,6 +264,7 @@
|
|
|
activity_name = #{activityName,jdbcType=VARCHAR},
|
|
|
start_date = #{startDate,jdbcType=TIMESTAMP},
|
|
|
end_date = #{endDate,jdbcType=TIMESTAMP},
|
|
|
+ participant = #{participant,jdbcType=VARCHAR},
|
|
|
technical_field1 = #{technicalField1,jdbcType=VARCHAR},
|
|
|
technical_field2 = #{technicalField2,jdbcType=VARCHAR},
|
|
|
technical_field3 = #{technicalField3,jdbcType=VARCHAR},
|
|
|
@@ -268,6 +289,7 @@
|
|
|
enterprise_filler = #{enterpriseFiller,jdbcType=VARCHAR},
|
|
|
sign_date = #{signDate,jdbcType=TIMESTAMP},
|
|
|
sort_number = #{sortNumber,jdbcType=VARCHAR},
|
|
|
+ proof_url = #{proofUrl,jdbcType=VARCHAR},
|
|
|
deleted_sign = #{deletedSign,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|