select ma_id, code, type_id, ma_status, lease_scope, location, brand, model_name, production_date, working_hours, serial_number, month_lease_price, day_lease_price, pic_url, js_month_price, js_day_price, description, gps_code, own_co, create_time, creator, deposit, is_active, update_time, update_by from ma_dev_info
insert into ma_dev_info
ma_id,
code,
type_id,
ma_status,
lease_scope,
location,
brand,
model_name,
production_date,
working_hours,
serial_number,
month_lease_price,
day_lease_price,
pic_url,
js_month_price,
js_day_price,
description,
gps_code,
own_co,
create_time,
creator,
deposit,
is_active,
update_time,
update_by,
#{maId},
#{code},
#{typeId},
#{maStatus},
#{leaseScope},
#{location},
#{brand},
#{modelName},
#{productionDate},
#{workingHours},
#{serialNumber},
#{monthLeasePrice},
#{dayLeasePrice},
#{picUrl},
#{jsMonthPrice},
#{jsDayPrice},
#{description},
#{gpsCode},
#{ownCo},
#{createTime},
#{creator},
#{deposit},
#{isActive},
#{updateTime},
#{updateBy},
update ma_dev_info
code = #{code},
type_id = #{typeId},
ma_status = #{maStatus},
lease_scope = #{leaseScope},
location = #{location},
brand = #{brand},
model_name = #{modelName},
production_date = #{productionDate},
working_hours = #{workingHours},
serial_number = #{serialNumber},
month_lease_price = #{monthLeasePrice},
day_lease_price = #{dayLeasePrice},
pic_url = #{picUrl},
js_month_price = #{jsMonthPrice},
js_day_price = #{jsDayPrice},
description = #{description},
gps_code = #{gpsCode},
own_co = #{ownCo},
create_time = #{createTime},
creator = #{creator},
deposit = #{deposit},
is_active = #{isActive},
update_time = #{updateTime},
update_by = #{updateBy},
where ma_id = #{maId}
delete from ma_dev_info where ma_id = #{maId}
delete from ma_dev_info where ma_id in
#{maId}