@Override public int forbidden(ProductType productType) { return productTypeMapper.forbiddenByPrimaryKey(productType.getId()); }
@Override public ProductType searchByPrimaryKey(ProductType productType) { return productTypeMapper.selectByPrimaryKey(productType.getId()); }
@Override public int delete(ProductType productType) { return productTypeMapper.deleteByPrimaryKey(productType.getId()); }