insert into community_space( admin_name,space_id,name,start_time,tel,end_time,state,community_id,fee_money,venue_id ) values ( #{adminName},#{spaceId},#{name},#{startTime},#{tel},#{endTime},#{state},#{communityId},#{feeMoney},#{venueId} ) update community_space t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.admin_name= #{adminName} , t.name= #{name} , t.start_time= #{startTime} , t.tel= #{tel} , t.end_time= #{endTime} , t.state= #{state} , t.community_id= #{communityId} , t.fee_money= #{feeMoney} where 1=1 and t.space_id= #{spaceId} and t.venue_id= #{venueId}