add BaseMapper.deleteAllByExample
This commit is contained in:
@ -0,0 +1,32 @@
|
||||
package com.imyeyu.spring.annotation.table;
|
||||
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* @author 夜雨
|
||||
* @since 2025-12-01 10:56
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.FIELD)
|
||||
public @interface DeleteColumn {
|
||||
|
||||
Type value() default Type.UNIX;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author 夜雨
|
||||
* @since 2025-12-01 10:57
|
||||
*/
|
||||
enum Type {
|
||||
|
||||
UNIX,
|
||||
|
||||
DATE,
|
||||
|
||||
DATE_TIME
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user