Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed Dec 12, 2024
2 parents 697b876 + 8bb450d commit 521cb53
Showing 1 changed file with 57 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
package com.plate.boot.commons.utils.query;

import lombok.Getter;

/**
* 这是一个表示操作的类。
* <p>
* 该类可能包含执行特定操作的方法。
* 例如,它可能包含数学运算、数据操作或其他类型的处理。
* 这里没有具体的实现细节,因为代码片段没有提供足够的信息。
* </p>
*
* @author <a href="https://github.com/vnobo">Alex Bob</a>
* @version 1.0
*/
@Getter
public enum Operation {
EQ("="),
EQUAL("="),
AFTER(">"),
GREATER_THAN_EQUAL(">="),
GTE(">="),
GREATER_THAN(">"),
GT(">"),
BEFORE("<"),
LESS_THAN_EQUAL("<="),
LTE("<="),
LESS_THAN("<"),
LT("<"),
BETWEEN("between"),
NOT_BETWEEN("not between"),
NOT_IN("not in"),
IN("in"),
IS_NOT_NULL("is not null"),
NOT_NULL("is not null"),
IS_NULL("is null"),
NULL("is null"),
NOT_LIKE("not like"),
LIKE("like"),
STARTING_WITH("like '%s'"),
ENDING_WITH("like '%s'"),
IS_NOT_LIKE("not like"),
CONTAINING("like '%s'"),
NOT_CONTAINING("not like"),
NOT("!="),
IS_TRUE("is true"),
TRUE("is true"),
IS_FALSE("is false"),
FALSE("is false");

private final String sqlOperator;

Operation(String sqlOperator) {
this.sqlOperator = sqlOperator;
}

}

0 comments on commit 521cb53

Please sign in to comment.