insert into community_space_confirm_order( space_id,csp_id,time_id,order_id,remark,community_id ) values ( #{spaceId},#{cspId},#{timeId},#{orderId},#{remark},#{communityId} ) update community_space_confirm_order t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.space_id= #{spaceId} , t.csp_id= #{cspId} , t.time_id= #{timeId} , t.remark= #{remark} , t.community_id= #{communityId} where 1=1 and t.order_id= #{orderId}