|
@@ -24,6 +24,7 @@ import java.util.Map;
|
|
import java.util.function.Predicate;
|
|
import java.util.function.Predicate;
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
+import static com.boman.common.core.constant.GenConstants.COLUMNTYPE_NUMBER;
|
|
import static com.boman.common.core.utils.obj.ObjectUtils.*;
|
|
import static com.boman.common.core.utils.obj.ObjectUtils.*;
|
|
import static com.boman.domain.constant.FormDataConstant.*;
|
|
import static com.boman.domain.constant.FormDataConstant.*;
|
|
|
|
|
|
@@ -279,11 +280,12 @@ public class ColumnUtils {
|
|
if (!GenTableColumn.IS_REQUIRED.equalsIgnoreCase(column.getIsRequired())) {
|
|
if (!GenTableColumn.IS_REQUIRED.equalsIgnoreCase(column.getIsRequired())) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
+
|
|
if (!entry.getKey().equals(column.getColumnName())) {
|
|
if (!entry.getKey().equals(column.getColumnName())) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
|
|
- if (!ArrayUtils.arraysContains(GenConstants.COLUMNTYPE_NUMBER, getDbType(column.getColumnType()))) {
|
|
|
|
|
|
+ if (!ArrayUtils.arraysContains(COLUMNTYPE_NUMBER, getDbType(column.getColumnType()))) {
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
|
|
|