package org.eddy.swing.entity.groovy;

import org.eddy.entity.Stock;
import org.eddy.swing.entity.Validater;

import javax.annotation.PostConstruct;
import java.util.List;
import java.util.SortedMap;

/**
 *  股票上涨大于一定比例
 * Created by Justice-love on 2017/3/13.
 */
public class RisePercent extends Validater {

    @PostConstruct
    public void init() {
        register(name());
    }
    @Override
    public boolean validate(SortedMap<String, List<Stock>> groupStocks, String expression, String expect) {
        return false;
    }

    @Override
    public String getDescription() {
        return null;
    }

    @Override
    public String name() {
        return "RisePercent";
    }
}

@@ -206,10 +206,8 @@
  *  
-%E8%82%A1%E7%A5%A8
 %E4%B8%8A%E6%B6%A8%E5%A4%A7%E4%BA%8E
@@ -599,12 +599,23 @@
 urn 
-null
+%22%E4%BB%B7%E6%A0%BC%E4%B8%8A%E6%B6%A8%E7%99%BE%E5%88%86%E6%AF%94%E5%A4%A7%E4%BA%8E%E4%B8%80%E5%AE%9A%E6%AF%94%E4%BE%8B%22
 ;%0A  

add rule