Files
influxdb-springboot-starter/src/main/java/com/njcn/influx/ano/Select.java
2023-04-25 10:23:43 +08:00

27 lines
547 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
* 如果没有sql语句则是将参数中的实体转为sql语句
*/
String value() default "nosql";
/***
* 返回映射的实体对象
*/
Class resultType();
}