insert into product_label(
label_id,product_id,store_id,label_cd
) values (
#{labelId},#{productId},#{storeId},#{labelCd}
)
update product_label t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.product_id= #{productId}
, t.store_id= #{storeId}
, t.label_cd= #{labelCd}
where 1=1
and t.label_id= #{labelId}