@Override
 public int forbidden(ProductTransactionsRule productTransactionsRule) {
   return productTransactionsRuleMapper.forbiddenByPrimaryKey(productTransactionsRule.getId());
 }
 @Override
 public ProductTransactionsRule searchByPrimaryKey(
     ProductTransactionsRule productTransactionsRule) {
   return productTransactionsRuleMapper.selectByPrimaryKey(productTransactionsRule.getId());
 }
 @Override
 public int delete(ProductTransactionsRule productTransactionsRule) {
   return productTransactionsRuleMapper.deleteByPrimaryKey(productTransactionsRule.getId());
 }