select id, attended_time, number_plate_id, number_plate_name, car_unit_id, car_unit_name, car_type, car_states, adress, driver_id, driver_name, telephone, model_info, model_text, color, driver_unit, driver_unit_id from bdgl_militaryduty
insert into bdgl_militaryduty
attended_time,
number_plate_id,
number_plate_name,
car_unit_id,
car_unit_name,
car_type,
car_states,
adress,
driver_id,
driver_name,
telephone,
model_info,
model_text,
color,
driver_unit,
driver_unit_id,
#{attendedTime},
#{numberPlateId},
#{numberPlateName},
#{carUnitId},
#{carUnitName},
#{carType},
#{carStates},
#{adress},
#{driverId},
#{driverName},
#{telephone},
#{modelInfo},
#{modelText},
#{color},
#{driverUnit},
#{driverUnitId},
update bdgl_militaryduty
attended_time = #{attendedTime},
number_plate_id = #{numberPlateId},
number_plate_name = #{numberPlateName},
car_unit_id = #{carUnitId},
car_unit_name = #{carUnitName},
car_type = #{carType},
car_states = #{carStates},
adress = #{adress},
driver_id = #{driverId},
driver_name = #{driverName},
telephone = #{telephone},
model_info = #{modelInfo},
model_text = #{modelText},
color = #{color},
driver_unit = #{driverUnit},
driver_unit_id = #{driverUnitId},
where id = #{id}
delete from bdgl_militaryduty where id = #{id}
delete from bdgl_militaryduty where id in
#{id}