Commit 77590162 by huangfusuper

脚本类数据

parent 591c3b52
......@@ -22,7 +22,7 @@ public class ClassSortUtil {
public static <T> List<BeanStrategyPackage<T>> objectSort(Map<String,T> beanMap){
List<BeanStrategyPackage<T>> beanStrategyPackages = new ArrayList<>(8);
beanMap.forEach((beanName,bean) ->{
if(bean.getClass().isAnnotationPresent(MythRankOrder.class)){
if(!bean.getClass().isAnnotationPresent(MythRankOrder.class)){
throw new RuntimeException(String.format("%s,不存在排序注解,请联系调度官方团队!",beanName));
}
beanStrategyPackages.add(new BeanStrategyPackage<>(beanName,bean));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment