select id, site_name, site_longitude, site_latitude, site_address, site_contract_name, site_contract_phone, order_num, create_time, creator, update_time, updater from site_info insert into site_info id, site_name, site_longitude, site_latitude, site_address, site_contract_name, site_contract_phone, order_num, create_time, creator, update_time, updater, #{id}, #{siteName}, #{siteLongitude}, #{siteLatitude}, #{siteAddress}, #{siteContractName}, #{siteContractPhone}, #{orderNum}, #{createTime}, #{creator}, #{updateTime}, #{updater}, update site_info site_name = #{siteName}, site_longitude = #{siteLongitude}, site_latitude = #{siteLatitude}, site_address = #{siteAddress}, site_contract_name = #{siteContractName}, site_contract_phone = #{siteContractPhone}, order_num = #{orderNum}, create_time = #{createTime}, creator = #{creator}, update_time = #{updateTime}, updater = #{updater}, where id = #{id} delete from site_info where id = #{id} delete from site_info where id in #{id} INSERT INTO system_users (id,username,password,dept_id,nickname, user_type,email,mobile,sex, avatar,status,login_ip,login_date, creator,create_time,updater, open_id,jc_open_id,rescue_open_id,union_id, id_card,id_card_image,user_age,invite_id) VALUES(#{id},#{username},#{password},#{deptId},#{nickName},#{userType}, #{email},#{mobile},#{sex},#{avatar},#{status},#{loginIp},#{loginDate}, #{creator},#{createTime},#{updater},#{openId},#{jcOpenId}, #{rescueOpenId},#{unionId},#{idCard},#{idCardImage},#{userAge},#{inviteId}) update rescue_info set user_id = #{newUserId} where user_id = #{oldUserId} update rescue_order_info set validation_user_id = #{newUserId} where user_id = #{oldUserId} update rescue_order_info set user_id = #{newUserId} where user_id = #{oldUserId} update rescue_order_return set user_id = #{newUserId} where user_id = #{oldUserId} update driver_info set user_id = #{newUserId} where user_id = #{oldUserId}