mirror of https://github.com/elunez/eladmin
parent
b7b721b13b
commit
7cef6f8bf2
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2019-2020 Zheng Jie
|
* Copyright 2019-2020 Zheng Jie
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
@ -276,6 +276,7 @@ public class GenUtil {
|
||||||
// 主键存在字典
|
// 主键存在字典
|
||||||
if (StringUtils.isNotBlank(column.getDictName())) {
|
if (StringUtils.isNotBlank(column.getDictName())) {
|
||||||
genMap.put("hasDict", true);
|
genMap.put("hasDict", true);
|
||||||
|
if(!dicts.contains(column.getDictName()))
|
||||||
dicts.add(column.getDictName());
|
dicts.add(column.getDictName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue