@Override
    public int delete(final List<String> ids) {
        int rows = scaleRuleMapper.delete(ids);
        if (rows > 0) {
            scaleRuleCache.removeRulesFromCache(ids);
        }
        return rows;
    }
delete rules.

@param ids primary key
@return rows int
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/ScaleRuleServiceImpl.java