select id, title, livestock_type, vaccine_type, description, vaccination_date, vaccination_location, available_slots, total_slots, status, publish_time, end_time, del_flag, create_by, create_time, update_by, update_time, remark from sys_vac_info
insert into sys_vac_info
title,
livestock_type,
vaccine_type,
description,
vaccination_date,
vaccination_location,
available_slots,
total_slots,
status,
publish_time,
end_time,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark,
#{title},
#{livestockType},
#{vaccineType},
#{description},
#{vaccinationDate},
#{vaccinationLocation},
#{availableSlots},
#{totalSlots},
#{status},
#{publishTime},
#{endTime},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update sys_vac_info
title = #{title},
livestock_type = #{livestockType},
vaccine_type = #{vaccineType},
description = #{description},
vaccination_date = #{vaccinationDate},
vaccination_location = #{vaccinationLocation},
available_slots = #{availableSlots},
total_slots = #{totalSlots},
status = #{status},
publish_time = #{publishTime},
end_time = #{endTime},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from sys_vac_info where id = #{id}
delete from sys_vac_info where id in
#{id}