package com.hzs.sale.wares.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.sale.wares.BdWaresAuthorize;
import com.hzs.sale.wares.mapper.BdWaresAuthorizeMapper;
import com.hzs.sale.wares.service.IBdWaresAuthorizeService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 商品用户权限配置 服务实现类
 * </p>
 *
 * @author hzs
 * @since 2023-09-06
 */
@Service
public class BdWaresAuthorizeServiceImpl extends ServiceImpl<BdWaresAuthorizeMapper, BdWaresAuthorize> implements IBdWaresAuthorizeService {

    /**
     * 删除所有的商品权限
     * @param pkWares
     */
    @Override
    public void removeByPkWares(Integer pkWares) {
        baseMapper.removeByPkWares(pkWares);
    }
}
