select id, model, unit_id, people_id, thebus_id, contact, cause, auth_stime, auth_etime, thebus_themplate_id, peopleone_id, peopleone_state, peopleone_name, peopleone_remark, peopleone_authtime, peopletwo_id, peopletwo_state, status, peopletwo_remark, peopletwo_authtime, outstatus, peopletwo_name, admin_id, createtime, peoplethree_id, updatetime, peoplethree_state, driver, peoplethree_remark, driver_contact, peoplethree_authtime, peoplethree_name, people_count, unit_people_id, unit_people_state, unit_people_remark, chushen_state, chushen_remark, route, outtime, car_names, car_ids, unit_people_name,shenpijiedian,is_teshu,yjts_yuanyin,csts_yuanyin,ojts_yuanyin,tjts_yuanyin,sjts_yuanyin,people_name,unit_name,bdgl_departure_yuanyin,isTeshuYongChe,place_state,car_unit_id,remark_info,pepelonamed,battaliontime from bdgl_thebus_apply
insert into bdgl_thebus_apply
model,
unit_id,
people_id,
thebus_id,
contact,
cause,
auth_stime,
auth_etime,
thebus_themplate_id,
peopleone_id,
peopleone_state,
peopleone_name,
peopleone_remark,
peopleone_authtime,
peopletwo_id,
peopletwo_state,
status,
peopletwo_remark,
peopletwo_authtime,
outstatus,
peopletwo_name,
admin_id,
createtime,
peoplethree_id,
updatetime,
peoplethree_state,
driver,
peoplethree_remark,
driver_contact,
peoplethree_authtime,
peoplethree_name,
people_count,
unit_people_id,
unit_people_state,
unit_people_remark,
chushen_state,
chushen_remark,
route,
outtime,
car_names,
car_ids,
unit_people_name,
shenpijiedian ,
is_teShu ,
yjts_yuanyin ,
csts_yuanyin ,
ojts_yuanyin,
tjts_yuanyin ,
sjts_yuanyin ,
people_name ,
unit_name ,
bdgl_departure_yuanyin ,
isTeshuYongChe ,
place_state ,
pepelonamed ,
battaliontime ,
#{model},
#{unitId},
#{peopleId},
#{thebusId},
#{contact},
#{cause},
#{authStime},
#{authEtime},
#{thebusThemplateId},
#{peopleoneId},
#{peopleoneState},
#{peopleoneName},
#{peopleoneRemark},
#{peopleoneAuthtime},
#{peopletwoId},
#{peopletwoState},
#{status},
#{peopletwoRemark},
#{peopletwoAuthtime},
#{outstatus},
#{peopletwoName},
#{adminId},
#{createtime},
#{peoplethreeId},
#{updatetime},
#{peoplethreeState},
#{driver},
#{peoplethreeRemark},
#{driverContact},
#{peoplethreeAuthtime},
#{peoplethreeName},
#{peopleCount},
#{unitPeopleId},
#{unitPeopleState},
#{unitPeopleRemark},
#{chushenState},
#{chushenRemark},
#{route},
#{outtime},
#{carNames},
#{carIds},
#{unitPeopleName},
#{shenpijiedian},
#{shenpijiedian},
#{yjtsYuanyin},
#{cstsYuanyin},
#{ojtsYuanyin},
#{tjtsYuanyin},
#{sjtsYuanyin},
#{peopleName},
#{unitName},
#{bdglDepartureYuanyin},
#{isTeshuYongChe},
#{placeState},
#{pepelonamed},
#{battaliontime},
update bdgl_thebus_apply
model = #{model},
unit_id = #{unitId},
people_id = #{peopleId},
thebus_id = #{thebusId},
contact = #{contact},
cause = #{cause},
auth_stime = #{authStime},
auth_etime = #{authEtime},
thebus_themplate_id = #{thebusThemplateId},
peopleone_id = #{peopleoneId},
peopleone_state = #{peopleoneState},
peopleone_name = #{peopleoneName},
peopleone_remark = #{peopleoneRemark},
peopleone_authtime = #{peopleoneAuthtime},
peopletwo_id = #{peopletwoId},
peopletwo_state = #{peopletwoState},
status = #{status},
peopletwo_remark = #{peopletwoRemark},
peopletwo_authtime = #{peopletwoAuthtime},
outstatus = #{outstatus},
peopletwo_name = #{peopletwoName},
admin_id = #{adminId},
createtime = #{createtime},
peoplethree_id = #{peoplethreeId},
updatetime = #{updatetime},
peoplethree_state = #{peoplethreeState},
driver = #{driver},
peoplethree_remark = #{peoplethreeRemark},
driver_contact = #{driverContact},
peoplethree_authtime = #{peoplethreeAuthtime},
peoplethree_name = #{peoplethreeName},
people_count = #{peopleCount},
unit_people_id = #{unitPeopleId},
unit_people_state = #{unitPeopleState},
unit_people_remark = #{unitPeopleRemark},
chushen_state = #{chushenState},
chushen_remark = #{chushenRemark},
route = #{route},
outtime = #{outtime},
car_names = #{carNames},
car_ids = #{carIds},
unit_people_name = #{unitPeopleName},
shenpijiedian = #{shenpijiedian},
is_teShu = #{shenpijiedian},
yjts_yuanyin = #{yjtsYuanyin},
csts_yuanyin = #{cstsYuanyin},
ojts_yuanyin = #{ojtsYuanyin},
tjts_yuanyin = #{tjtsYuanyin},
sjts_yuanyin = #{sjtsYuanyin},
people_name = #{peopleName},
unit_name = #{unitName},
bdgl_departure_yuanyin = #{bdglDepartureYuanyin},
isTeshuYongChe = #{isTeshuYongChe},
place_state = #{placeState},
car_unit_id = #{carUnitId},
remark_info = #{remarkInfo},
pepelonamed = #{pepelonamed},
battaliontime = #{battaliontime}
where id = #{id}
delete from bdgl_thebus_apply where id = #{id}
delete from bdgl_thebus_apply where id in
#{id}