select agent_id, name, service_phone, dispatch_fee, delivery_fee, city_id, contact, phone, sys_userid from rl_agent insert into rl_agent name, service_phone, dispatch_fee, delivery_fee, city_id, contact, phone, sys_userid, #{name}, #{servicePhone}, #{dispatchFee}, #{deliveryFee}, #{cityId}, #{contact}, #{phone}, #{sysUserid}, update rl_agent name = #{name}, service_phone = #{servicePhone}, dispatch_fee = #{dispatchFee}, delivery_fee = #{deliveryFee}, city_id = #{cityId}, contact = #{contact}, phone = #{phone}, sys_userid = #{sysUserid}, where agent_id = #{agentId} delete from rl_agent where agent_id = #{agentId} delete from rl_agent where agent_id in #{agentId}