Files
influxdb-springboot-starter/src/main/java/com/njcn/influx/ano/Select.java

27 lines
547 B
Java
Raw Normal View History

2023-04-21 13:23:33 +08:00
package com.njcn.influx.ano;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 查询记录
* @author hongawen
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Select {
/***
* 查询sql
2023-04-25 10:23:43 +08:00
* 如果没有sql语句则是将参数中的实体转为sql语句
2023-04-21 13:23:33 +08:00
*/
2023-04-25 10:23:43 +08:00
String value() default "nosql";
2023-04-21 13:23:33 +08:00
/***
* 返回映射的实体对象
*/
Class resultType();
}