id, aid, uid, year, activity_number, 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, start_date, end_date, account_url, deleted_sign delete from org_activity_cost where id = #{id,jdbcType=VARCHAR} insert into org_activity_cost (id, aid, uid, year, activity_number, 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, start_date, end_date, account_url, deleted_sign ) values (#{id,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{year,jdbcType=INTEGER}, #{activityNumber,jdbcType=VARCHAR}, #{internalLaborCost,jdbcType=DECIMAL}, #{internalDirectCost,jdbcType=DECIMAL}, #{internalDepreciationCost,jdbcType=DECIMAL}, #{internalAmortizationCost,jdbcType=DECIMAL}, #{internalDesignCost,jdbcType=DECIMAL}, #{internalEquipmentCost,jdbcType=DECIMAL}, #{internalOtherCost,jdbcType=DECIMAL}, #{externalTotalCost,jdbcType=DECIMAL}, #{externalAbroadCost,jdbcType=DECIMAL}, #{enterpriseFiller,jdbcType=VARCHAR}, #{signDate,jdbcType=TIMESTAMP}, #{sortNumber,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP}, #{accountUrl,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER} ) insert into org_activity_cost id, aid, uid, year, activity_number, 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, start_date, end_date, account_url, deleted_sign, #{id,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{year,jdbcType=INTEGER}, #{activityNumber,jdbcType=VARCHAR}, #{internalLaborCost,jdbcType=DECIMAL}, #{internalDirectCost,jdbcType=DECIMAL}, #{internalDepreciationCost,jdbcType=DECIMAL}, #{internalAmortizationCost,jdbcType=DECIMAL}, #{internalDesignCost,jdbcType=DECIMAL}, #{internalEquipmentCost,jdbcType=DECIMAL}, #{internalOtherCost,jdbcType=DECIMAL}, #{externalTotalCost,jdbcType=DECIMAL}, #{externalAbroadCost,jdbcType=DECIMAL}, #{enterpriseFiller,jdbcType=VARCHAR}, #{signDate,jdbcType=TIMESTAMP}, #{sortNumber,jdbcType=VARCHAR}, #{startDate,jdbcType=TIMESTAMP}, #{endDate,jdbcType=TIMESTAMP}, #{accountUrl,jdbcType=VARCHAR}, #{deletedSign,jdbcType=INTEGER}, update org_activity_cost aid = #{aid,jdbcType=VARCHAR}, uid = #{uid,jdbcType=VARCHAR}, year = #{year,jdbcType=INTEGER}, activity_number = #{activityNumber,jdbcType=VARCHAR}, internal_labor_cost = #{internalLaborCost,jdbcType=DECIMAL}, internal_direct_cost = #{internalDirectCost,jdbcType=DECIMAL}, internal_depreciation_cost = #{internalDepreciationCost,jdbcType=DECIMAL}, internal_amortization_cost = #{internalAmortizationCost,jdbcType=DECIMAL}, internal_design_cost = #{internalDesignCost,jdbcType=DECIMAL}, internal_equipment_cost = #{internalEquipmentCost,jdbcType=DECIMAL}, internal_other_cost = #{internalOtherCost,jdbcType=DECIMAL}, external_total_cost = #{externalTotalCost,jdbcType=DECIMAL}, external_abroad_cost = #{externalAbroadCost,jdbcType=DECIMAL}, enterprise_filler = #{enterpriseFiller,jdbcType=VARCHAR}, sign_date = #{signDate,jdbcType=TIMESTAMP}, sort_number = #{sortNumber,jdbcType=VARCHAR}, start_date = #{startDate,jdbcType=TIMESTAMP}, end_date = #{endDate,jdbcType=TIMESTAMP}, account_url = #{accountUrl,jdbcType=VARCHAR}, deleted_sign = #{deletedSign,jdbcType=INTEGER}, where id = #{id,jdbcType=VARCHAR} update org_activity_cost set aid = #{aid,jdbcType=VARCHAR}, uid = #{uid,jdbcType=VARCHAR}, year = #{year,jdbcType=INTEGER}, activity_number = #{activityNumber,jdbcType=VARCHAR}, internal_labor_cost = #{internalLaborCost,jdbcType=DECIMAL}, internal_direct_cost = #{internalDirectCost,jdbcType=DECIMAL}, internal_depreciation_cost = #{internalDepreciationCost,jdbcType=DECIMAL}, internal_amortization_cost = #{internalAmortizationCost,jdbcType=DECIMAL}, internal_design_cost = #{internalDesignCost,jdbcType=DECIMAL}, internal_equipment_cost = #{internalEquipmentCost,jdbcType=DECIMAL}, internal_other_cost = #{internalOtherCost,jdbcType=DECIMAL}, external_total_cost = #{externalTotalCost,jdbcType=DECIMAL}, external_abroad_cost = #{externalAbroadCost,jdbcType=DECIMAL}, enterprise_filler = #{enterpriseFiller,jdbcType=VARCHAR}, sign_date = #{signDate,jdbcType=TIMESTAMP}, sort_number = #{sortNumber,jdbcType=VARCHAR}, start_date = #{startDate,jdbcType=TIMESTAMP}, end_date = #{endDate,jdbcType=TIMESTAMP}, account_url = #{accountUrl,jdbcType=VARCHAR}, deleted_sign = #{deletedSign,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} update org_activity_cost set deleted_sign = 1 where id in #{item} update org_activity_cost set deleted_sign = 1 where aid in #{item}