|
@@ -1,6 +1,7 @@
|
|
|
package com.fjhx.utils.wrapperUtil;
|
|
|
|
|
|
import cn.hutool.core.bean.BeanUtil;
|
|
|
+import cn.hutool.core.convert.Convert;
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
import cn.hutool.core.util.ObjectUtil;
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
@@ -568,7 +569,7 @@ public class IWrapper<T> extends AbstractWrapper<T, String, IWrapper<T>> impleme
|
|
|
|
|
|
@Override
|
|
|
public IWrapper<T> in(String sqlFieldName, Object... value) {
|
|
|
- return in(ObjectUtil.isNotEmpty(value), sqlFieldName, value);
|
|
|
+ return in(ObjectUtil.isNotEmpty(value), sqlFieldName, Convert.toList(value));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -615,7 +616,7 @@ public class IWrapper<T> extends AbstractWrapper<T, String, IWrapper<T>> impleme
|
|
|
|
|
|
@Override
|
|
|
public IWrapper<T> notIn(String sqlFieldName, Object... value) {
|
|
|
- return notIn(ObjectUtil.isNotEmpty(value), sqlFieldName, value);
|
|
|
+ return notIn(ObjectUtil.isNotEmpty(value), sqlFieldName, Convert.toList(value));
|
|
|
}
|
|
|
|
|
|
|