select id, user_id, store_id
from zdy_wcsc_user_store
insert into zdy_wcsc_user_store
user_id,
store_id,
#{userId},
#{storeId},
update zdy_wcsc_user_store
user_id =
#{userId},
store_id =
#{storeId},
where id = #{id}
delete
from zdy_wcsc_user_store
where id = #{id}
delete
from zdy_wcsc_user_store
where store_id = #{storeId}
delete from zdy_wcsc_user_store where id in
#{id}