select id, attended_time, chief_duty_name, chief_duty_id, chief_duty_phone, combat_duty_name, combat_duty_id, combat_duty_phone, duty_offier_name, duty_offier_id, duty_offier_phone, detachmentone_name, detachmentone_id, detachmentone_number, detachmentone_people_name, detachmentone_people_id, detachmentone_people_phone, detachmentwo_name, detachmentwo_id, detachmentwo_number, detachmentwo_people_name, detachmentwo_people_id, detachmentwo_people_phone, remarks from bdgl_baseduty insert into bdgl_baseduty id, attended_time, chief_duty_name, chief_duty_id, chief_duty_phone, combat_duty_name, combat_duty_id, combat_duty_phone, duty_offier_name, duty_offier_id, duty_offier_phone, detachmentone_name, detachmentone_id, detachmentone_number, detachmentone_people_name, detachmentone_people_id, detachmentone_people_phone, detachmentwo_name, detachmentwo_id, detachmentwo_number, detachmentwo_people_name, detachmentwo_people_id, detachmentwo_people_phone, remarks, #{id}, #{attendedTime}, #{chiefDutyName}, #{chiefDutyId}, #{chiefDutyPhone}, #{combatDutyName}, #{combatDutyId}, #{combatDutyPhone}, #{dutyOffierName}, #{dutyOffierId}, #{dutyOffierPhone}, #{detachmentoneName}, #{detachmentoneId}, #{detachmentoneNumber}, #{detachmentonePeopleName}, #{detachmentonePeopleId}, #{detachmentonePeoplePhone}, #{detachmentwoName}, #{detachmentwoId}, #{detachmentwoNumber}, #{detachmentwoPeopleName}, #{detachmentwoPeopleId}, #{detachmentwoPeoplePhone}, #{remarks}, update bdgl_baseduty attended_time = #{attendedTime}, chief_duty_name = #{chiefDutyName}, chief_duty_id = #{chiefDutyId}, chief_duty_phone = #{chiefDutyPhone}, combat_duty_name = #{combatDutyName}, combat_duty_id = #{combatDutyId}, combat_duty_phone = #{combatDutyPhone}, duty_offier_name = #{dutyOffierName}, duty_offier_id = #{dutyOffierId}, duty_offier_phone = #{dutyOffierPhone}, detachmentone_name = #{detachmentoneName}, detachmentone_id = #{detachmentoneId}, detachmentone_number = #{detachmentoneNumber}, detachmentone_people_name = #{detachmentonePeopleName}, detachmentone_people_id = #{detachmentonePeopleId}, detachmentone_people_phone = #{detachmentonePeoplePhone}, detachmentwo_name = #{detachmentwoName}, detachmentwo_id = #{detachmentwoId}, detachmentwo_number = #{detachmentwoNumber}, detachmentwo_people_name = #{detachmentwoPeopleName}, detachmentwo_people_id = #{detachmentwoPeopleId}, detachmentwo_people_phone = #{detachmentwoPeoplePhone}, remarks = #{remarks}, where id = #{id} delete from bdgl_baseduty where id = #{id} delete from bdgl_baseduty where id in #{id}