select id, ordinary_ear_number, ranch_id, ranch_name, sheepfold_id, sheepfold_name, electronic_tags, variety_id, variety, sheep_category, current_status, birthday, dynamic_info, month_age, birth_weight, weaning_date, weaning_day_age, weaning_weight, weaning_daily_gain, post_weaning_daily_gain, current_weight, current_weight_date, activity_level, sexual_status, scrotum_circumference, sperm_collection_time, sperm_volume, sperm_vitality, sperm_density, sperm_quality, breeding_status, last_plan_time, current_plan_time, comment, protein_rate_ebv, milk_fat_rate_ebv, scs_ebv, growth_performance_ebv, resistance_ebv, reproduction_performance_ebv, body_type_ebv, comprehensive_breeding_value, father_number, mother_number, grandfather_number, grandmother_number, maternal_grandfather_number, maternal_grandmother_number, is_core_flock, is_breeding_use, pregnancy_check, total_mated_ewes, natural_pregnancy_check_ewes, natural_conception_rate, artificial_pregnancy_check_ewes, artificial_conception_rate, ram_mother_milk_volume, milk_production_ebv, accuracy, information_count, is_paternity_tested, create_by, create_time, update_by, update_time, is_delete from breed_ram_file
insert into breed_ram_file
ordinary_ear_number,
ranch_id,
ranch_name,
sheepfold_id,
sheepfold_name,
electronic_tags,
variety_id,
variety,
sheep_category,
current_status,
birthday,
dynamic_info,
month_age,
birth_weight,
weaning_date,
weaning_day_age,
weaning_weight,
weaning_daily_gain,
post_weaning_daily_gain,
current_weight,
current_weight_date,
activity_level,
sexual_status,
scrotum_circumference,
sperm_collection_time,
sperm_volume,
sperm_vitality,
sperm_density,
sperm_quality,
breeding_status,
last_plan_time,
current_plan_time,
comment,
protein_rate_ebv,
milk_fat_rate_ebv,
scs_ebv,
growth_performance_ebv,
resistance_ebv,
reproduction_performance_ebv,
body_type_ebv,
comprehensive_breeding_value,
father_number,
mother_number,
grandfather_number,
grandmother_number,
maternal_grandfather_number,
maternal_grandmother_number,
is_core_flock,
is_breeding_use,
pregnancy_check,
total_mated_ewes,
natural_pregnancy_check_ewes,
natural_conception_rate,
artificial_pregnancy_check_ewes,
artificial_conception_rate,
ram_mother_milk_volume,
milk_production_ebv,
accuracy,
information_count,
is_paternity_tested,
create_by,
create_time,
update_by,
update_time,
is_delete,
#{ordinaryEarNumber},
#{ranchId},
#{ranchName},
#{sheepfoldId},
#{sheepfoldName},
#{electronicTags},
#{varietyId},
#{variety},
#{sheepCategory},
#{currentStatus},
#{birthday},
#{dynamicInfo},
#{monthAge},
#{birthWeight},
#{weaningDate},
#{weaningDayAge},
#{weaningWeight},
#{weaningDailyGain},
#{postWeaningDailyGain},
#{currentWeight},
#{currentWeightDate},
#{activityLevel},
#{sexualStatus},
#{scrotumCircumference},
#{spermCollectionTime},
#{spermVolume},
#{spermVitality},
#{spermDensity},
#{spermQuality},
#{breedingStatus},
#{lastPlanTime},
#{currentPlanTime},
#{remark},
#{proteinRateEbv},
#{milkFatRateEbv},
#{scsEbv},
#{growthPerformanceEbv},
#{resistanceEbv},
#{reproductionPerformanceEbv},
#{bodyTypeEbv},
#{comprehensiveBreedingValue},
#{fatherNumber},
#{motherNumber},
#{grandfatherNumber},
#{grandmotherNumber},
#{maternalGrandfatherNumber},
#{maternalGrandmotherNumber},
#{isCoreFlock},
#{isBreedingUse},
#{pregnancyCheck},
#{totalMatedEwes},
#{naturalPregnancyCheckEwes},
#{naturalConceptionRate},
#{artificialPregnancyCheckEwes},
#{artificialConceptionRate},
#{ramMotherMilkVolume},
#{milkProductionEbv},
#{accuracy},
#{informationCount},
#{isPaternityTested},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{isDelete},
update breed_ram_file
ordinary_ear_number = #{ordinaryEarNumber},
ranch_id = #{ranchId},
ranch_name = #{ranchName},
sheepfold_id = #{sheepfoldId},
sheepfold_name = #{sheepfoldName},
electronic_tags = #{electronicTags},
variety_id = #{varietyId},
variety = #{variety},
sheep_category = #{sheepCategory},
current_status = #{currentStatus},
birthday = #{birthday},
dynamic_info = #{dynamicInfo},
month_age = #{monthAge},
birth_weight = #{birthWeight},
weaning_date = #{weaningDate},
weaning_day_age = #{weaningDayAge},
weaning_weight = #{weaningWeight},
weaning_daily_gain = #{weaningDailyGain},
post_weaning_daily_gain = #{postWeaningDailyGain},
current_weight = #{currentWeight},
current_weight_date = #{currentWeightDate},
activity_level = #{activityLevel},
sexual_status = #{sexualStatus},
scrotum_circumference = #{scrotumCircumference},
sperm_collection_time = #{spermCollectionTime},
sperm_volume = #{spermVolume},
sperm_vitality = #{spermVitality},
sperm_density = #{spermDensity},
sperm_quality = #{spermQuality},
breeding_status = #{breedingStatus},
last_plan_time = #{lastPlanTime},
current_plan_time = #{currentPlanTime},
comment = #{remark},
protein_rate_ebv = #{proteinRateEbv},
milk_fat_rate_ebv = #{milkFatRateEbv},
scs_ebv = #{scsEbv},
growth_performance_ebv = #{growthPerformanceEbv},
resistance_ebv = #{resistanceEbv},
reproduction_performance_ebv = #{reproductionPerformanceEbv},
body_type_ebv = #{bodyTypeEbv},
comprehensive_breeding_value = #{comprehensiveBreedingValue},
father_number = #{fatherNumber},
mother_number = #{motherNumber},
grandfather_number = #{grandfatherNumber},
grandmother_number = #{grandmotherNumber},
maternal_grandfather_number = #{maternalGrandfatherNumber},
maternal_grandmother_number = #{maternalGrandmotherNumber},
is_core_flock = #{isCoreFlock},
is_breeding_use = #{isBreedingUse},
pregnancy_check = #{pregnancyCheck},
total_mated_ewes = #{totalMatedEwes},
natural_pregnancy_check_ewes = #{naturalPregnancyCheckEwes},
natural_conception_rate = #{naturalConceptionRate},
artificial_pregnancy_check_ewes = #{artificialPregnancyCheckEwes},
artificial_conception_rate = #{artificialConceptionRate},
ram_mother_milk_volume = #{ramMotherMilkVolume},
milk_production_ebv = #{milkProductionEbv},
accuracy = #{accuracy},
information_count = #{informationCount},
is_paternity_tested = #{isPaternityTested},
update_by = #{updateBy},
update_time = #{updateTime},
is_delete = #{isDelete},
where id = #{id}
delete from breed_ram_file where id = #{id}
delete from breed_ram_file where id in
#{id}