insert into reserve_goods_order_time( hours,quantity,time_id,order_id,goods_id,state,community_id ) values ( #{hours},#{quantity},#{timeId},#{orderId},#{goodsId},#{state},#{communityId} ) update reserve_goods_order_time t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.hours= #{hours} , t.quantity= #{quantity} , t.order_id= #{orderId} , t.goods_id= #{goodsId} , t.state= #{state} , t.community_id= #{communityId} where 1=1 and t.time_id= #{timeId}