insert into renting_pool( latitude,owner_tel,renting_config_id,renting_desc,renting_title,check_in,renting_id,room_id,payment_type,owner_name, price,state,community_id,longitude,community_name ) values ( #{latitude},#{ownerTel},#{rentingConfigId},#{rentingDesc},#{rentingTitle},#{checkIn},#{rentingId},#{roomId}, #{paymentType},#{ownerName},#{price},#{state},#{communityId},#{longitude},#{communityName} ) update renting_pool t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.latitude= #{latitude} , t.owner_tel= #{ownerTel} , t.renting_config_id= #{rentingConfigId} , t.renting_desc= #{rentingDesc} , t.renting_title= #{rentingTitle} , t.check_in= #{checkIn} , t.room_id= #{roomId} , t.payment_type= #{paymentType} , t.owner_name= #{ownerName} , t.price= #{price} , t.state= #{state} , t.community_id= #{communityId} , t.longitude= #{longitude} where 1=1 and t.renting_id= #{rentingId}