select id, parent_id, type_id, ma_id, out_num, out_type, create_by, create_time, update_by, update_time, remark, company_id, car_code, push_notifications from lease_out_details insert into lease_out_details parent_id, type_id, ma_id, out_num, out_type, create_by, create_time, update_by, update_time, remark, company_id, car_code, push_notifications, #{parentId}, #{typeId}, #{maId}, #{outNum}, #{outType}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{companyId}, #{carCode}, #{pushNotifications}, update lease_out_details parent_id = #{parentId}, type_id = #{typeId}, ma_id = #{maId}, out_num = #{outNum}, out_type = #{outType}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, company_id = #{companyId}, car_code = #{carCode}, push_notifications = #{pushNotifications}, where id = #{id} delete from lease_out_details where id = #{id} delete from lease_out_details where id in #{id}