id, uid, activity_number, activity_name, start_date, end_date, 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, internal_labor_cost, internal_direct_cost,
internal_depreciation_cost, internal_amortization_cost, internal_design_cost, internal_equipment_cost,
internal_other_cost, external_total_cost, external_abroad_cost, enterprise_filler,
sign_date, sort_number
delete from org_activity
where id = #{id,jdbcType=VARCHAR}
insert into org_activity (id, uid, activity_number,
activity_name, start_date, end_date,
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, internal_labor_cost, internal_direct_cost,
internal_depreciation_cost, internal_amortization_cost,
internal_design_cost, internal_equipment_cost,
internal_other_cost, external_total_cost, external_abroad_cost,
enterprise_filler, sign_date, sort_number
)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{activityNumber,jdbcType=VARCHAR},
#{activityName,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP},
#{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}, #{internalLaborCost,jdbcType=INTEGER}, #{internalDirectCost,jdbcType=INTEGER},
#{internalDepreciationCost,jdbcType=INTEGER}, #{internalAmortizationCost,jdbcType=INTEGER},
#{internalDesignCost,jdbcType=INTEGER}, #{internalEquipmentCost,jdbcType=INTEGER},
#{internalOtherCost,jdbcType=INTEGER}, #{externalTotalCost,jdbcType=INTEGER}, #{externalAbroadCost,jdbcType=INTEGER},
#{enterpriseFiller,jdbcType=VARCHAR}, #{signDate,jdbcType=TIMESTAMP}, #{sortNumber,jdbcType=VARCHAR}
)
insert into org_activity
id,
uid,
activity_number,
activity_name,
start_date,
end_date,
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,
internal_labor_cost,
internal_direct_cost,
internal_depreciation_cost,
internal_amortization_cost,
internal_design_cost,
internal_equipment_cost,
internal_other_cost,
external_total_cost,
external_abroad_cost,
enterprise_filler,
sign_date,
sort_number,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{activityNumber,jdbcType=VARCHAR},
#{activityName,jdbcType=VARCHAR},
#{startDate,jdbcType=TIMESTAMP},
#{endDate,jdbcType=TIMESTAMP},
#{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},
#{internalLaborCost,jdbcType=INTEGER},
#{internalDirectCost,jdbcType=INTEGER},
#{internalDepreciationCost,jdbcType=INTEGER},
#{internalAmortizationCost,jdbcType=INTEGER},
#{internalDesignCost,jdbcType=INTEGER},
#{internalEquipmentCost,jdbcType=INTEGER},
#{internalOtherCost,jdbcType=INTEGER},
#{externalTotalCost,jdbcType=INTEGER},
#{externalAbroadCost,jdbcType=INTEGER},
#{enterpriseFiller,jdbcType=VARCHAR},
#{signDate,jdbcType=TIMESTAMP},
#{sortNumber,jdbcType=VARCHAR},
update org_activity
uid = #{uid,jdbcType=VARCHAR},
activity_number = #{activityNumber,jdbcType=VARCHAR},
activity_name = #{activityName,jdbcType=VARCHAR},
start_date = #{startDate,jdbcType=TIMESTAMP},
end_date = #{endDate,jdbcType=TIMESTAMP},
technical_field1 = #{technicalField1,jdbcType=VARCHAR},
technical_field2 = #{technicalField2,jdbcType=VARCHAR},
technical_field3 = #{technicalField3,jdbcType=VARCHAR},
technical_source = #{technicalSource,jdbcType=INTEGER},
intellectual_property_number = #{intellectualPropertyNumber,jdbcType=VARCHAR},
budget = #{budget,jdbcType=INTEGER},
first_year_expenditure = #{firstYearExpenditure,jdbcType=INTEGER},
second_year_expenditure = #{secondYearExpenditure,jdbcType=INTEGER},
third_year_expenditure = #{thirdYearExpenditure,jdbcType=INTEGER},
implement = #{implement,jdbcType=VARCHAR},
technology_innovation = #{technologyInnovation,jdbcType=VARCHAR},
achievement = #{achievement,jdbcType=VARCHAR},
internal_labor_cost = #{internalLaborCost,jdbcType=INTEGER},
internal_direct_cost = #{internalDirectCost,jdbcType=INTEGER},
internal_depreciation_cost = #{internalDepreciationCost,jdbcType=INTEGER},
internal_amortization_cost = #{internalAmortizationCost,jdbcType=INTEGER},
internal_design_cost = #{internalDesignCost,jdbcType=INTEGER},
internal_equipment_cost = #{internalEquipmentCost,jdbcType=INTEGER},
internal_other_cost = #{internalOtherCost,jdbcType=INTEGER},
external_total_cost = #{externalTotalCost,jdbcType=INTEGER},
external_abroad_cost = #{externalAbroadCost,jdbcType=INTEGER},
enterprise_filler = #{enterpriseFiller,jdbcType=VARCHAR},
sign_date = #{signDate,jdbcType=TIMESTAMP},
sort_number = #{sortNumber,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
update org_activity
set uid = #{uid,jdbcType=VARCHAR},
activity_number = #{activityNumber,jdbcType=VARCHAR},
activity_name = #{activityName,jdbcType=VARCHAR},
start_date = #{startDate,jdbcType=TIMESTAMP},
end_date = #{endDate,jdbcType=TIMESTAMP},
technical_field1 = #{technicalField1,jdbcType=VARCHAR},
technical_field2 = #{technicalField2,jdbcType=VARCHAR},
technical_field3 = #{technicalField3,jdbcType=VARCHAR},
technical_source = #{technicalSource,jdbcType=INTEGER},
intellectual_property_number = #{intellectualPropertyNumber,jdbcType=VARCHAR},
budget = #{budget,jdbcType=INTEGER},
first_year_expenditure = #{firstYearExpenditure,jdbcType=INTEGER},
second_year_expenditure = #{secondYearExpenditure,jdbcType=INTEGER},
third_year_expenditure = #{thirdYearExpenditure,jdbcType=INTEGER},
implement = #{implement,jdbcType=VARCHAR},
technology_innovation = #{technologyInnovation,jdbcType=VARCHAR},
achievement = #{achievement,jdbcType=VARCHAR},
internal_labor_cost = #{internalLaborCost,jdbcType=INTEGER},
internal_direct_cost = #{internalDirectCost,jdbcType=INTEGER},
internal_depreciation_cost = #{internalDepreciationCost,jdbcType=INTEGER},
internal_amortization_cost = #{internalAmortizationCost,jdbcType=INTEGER},
internal_design_cost = #{internalDesignCost,jdbcType=INTEGER},
internal_equipment_cost = #{internalEquipmentCost,jdbcType=INTEGER},
internal_other_cost = #{internalOtherCost,jdbcType=INTEGER},
external_total_cost = #{externalTotalCost,jdbcType=INTEGER},
external_abroad_cost = #{externalAbroadCost,jdbcType=INTEGER},
enterprise_filler = #{enterpriseFiller,jdbcType=VARCHAR},
sign_date = #{signDate,jdbcType=TIMESTAMP},
sort_number = #{sortNumber,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}