id, uid, activity_number, activity_name, start_date, end_date, participant, project_mode,
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, proof_url, deleted_sign
delete from org_activity
where id = #{id,jdbcType=VARCHAR}
insert into org_activity (id, uid, activity_number,
activity_name, start_date, end_date, participant, project_mode,
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, proof_url, deleted_sign
)
values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{activityNumber,jdbcType=VARCHAR},
#{activityName,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP}, #{participant,jdbcType=VARCHAR},
#{projectMode,jdbcType=INTEGER}, #{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}, #{proofUrl,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}
)
insert into org_activity
id,
uid,
activity_number,
activity_name,
start_date,
end_date,
participant,
project_mode,
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,
proof_url,
deleted_sign,
#{id,jdbcType=VARCHAR},
#{uid,jdbcType=VARCHAR},
#{activityNumber,jdbcType=VARCHAR},
#{activityName,jdbcType=VARCHAR},
#{startDate,jdbcType=TIMESTAMP},
#{endDate,jdbcType=TIMESTAMP},
#{participant,jdbcType=VARCHAR},
#{projectMode,jdbcType=INTEGER},
#{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},
#{proofUrl,jdbcType=VARCHAR},
#{deletedSign,jdbcType=INTEGER},
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},
participant = #{participant,jdbcType=VARCHAR},
project_mode = #{projectMode,jdbcType=INTEGER},
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},
proofUrl = #{proofUrl,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER},
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},
participant = #{participant,jdbcType=VARCHAR},
project_mode = #{projectMode,jdbcType=INTEGER},
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},
proof_url = #{proofUrl,jdbcType=VARCHAR},
deleted_sign = #{deletedSign,jdbcType=INTEGER}
where id = #{id,jdbcType=VARCHAR}
update org_activity set deleted_sign = 1
where id in
#{item}