insert into reserve_goods( end_date,goods_id,sort,type,img_url,catalog_id,params_id,price,state,community_id,goods_name,start_date,goods_desc ) values ( #{endDate},#{goodsId},#{sort},#{type},#{imgUrl},#{catalogId},#{paramsId},#{price},#{state},#{communityId},#{goodsName},#{startDate},#{goodsDesc} ) update reserve_goods t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.end_date= #{endDate} , t.sort= #{sort} , t.type= #{type} , t.img_url= #{imgUrl} , t.catalog_id= #{catalogId} , t.params_id= #{paramsId} , t.price= #{price} , t.state= #{state} , t.community_id= #{communityId} , t.goods_name= #{goodsName} , t.start_date= #{startDate} , t.goods_desc= #{goodsDesc} where 1=1 and t.goods_id= #{goodsId}