修改Review代码

This commit is contained in:
owen 2023-09-22 23:15:10 +08:00
parent bbd18afbcc
commit f30fa39067

View File

@ -100,14 +100,6 @@ public class LambdaQueryWrapperX<T> extends LambdaQueryWrapper<T> {
return betweenIfPresent(column, val1, val2); return betweenIfPresent(column, val1, val2);
} }
// TODO @疯狂这个是 mysql 独有的不好做成通用的哈如果多层级有没可能先查询一个层级再查询一个层级形成 set 直接去 in
public LambdaQueryWrapperX<T> findInSetIfPresent(SFunction<T, ?> column, Object val) {
if (val != null) {
return (LambdaQueryWrapperX<T>) super.apply("FIND_IN_SET({0}, " + columnToString(column) + ")", val);
}
return this;
}
// ========== 重写父类方法方便链式调用 ========== // ========== 重写父类方法方便链式调用 ==========
@Override @Override