com.javaoffers.batis.modelhelper.anno.fun.params.time.StrToDate Maven / Gradle / Ivy
package com.javaoffers.batis.modelhelper.anno.fun.params.time;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @description: str_to_date(colName, format) Used to convert a string to a date / time value
* SELECT STR_TO_DATE('202205251130','%Y%m%d%h%i'); 2022-05-25 11:30:00
* @author: create by cmj on 2022/10/15 16:29
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface StrToDate {
public static final String TAG = "STR_TO_DATE";
/**
* format
*/
String value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy