insert into resource_store_type(
rst_id,name,description,store_id,parent_id
) values (
#{rstId},#{name},#{description},#{storeId},#{parentId}
)
update resource_store_type t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.name= #{name}
, t.description= #{description}
, t.store_id= #{storeId}
, t.parent_id= #{parentId}
where 1=1
and t.rst_id= #{rstId}