package org.fastquery.core;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 
 * @author xixifeng (fastquery@126.com)
 */
//@Repeatable(Querys.class)
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD, ElementType.ANNOTATION_TYPE })
public @interface Query {
	
	/**
	 * sql语句
	 */
	String value() default "";

	/**
	 * 求和语句
	 */
	String countQuery() default "";
	
	/**
	 * 是否采用本地查询
	 */
	boolean nativeQuery() default true;
}
@@ -63,16 +63,56 @@
 ntType;%0A
+import java.lang.annotation.Repeatable;%0A
 import j
@@ -280,10 +280,8 @@
  */%0A
-//
 @Rep

update @Query Repeatable(可重复)