insert into resource_store_specification(
rss_id,rst_id,spec_name,description,store_id,parent_rst_id
) values (
#{rssId},#{rstId},#{specName},#{description},#{storeId},#{parentRstId}
)
update resource_store_specification t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.rst_id= #{rstId}
, t.spec_name= #{specName}
, t.description= #{description}
, t.store_id= #{storeId}
, t.parent_rst_id= #{parentRstId}
where 1=1
and t.rss_id= #{rssId}