⚡ 优化代码生成字典重复问题 link https://gitee.com/izory/ZrAdminNetCore/issues/I8LL2O
This commit is contained in:
parent
dac25c8785
commit
df10dd2cbd
@ -607,7 +607,7 @@ namespace ZR.CodeGenerator
|
|||||||
options.Data.Set("showCustomInput", showCustomInput);
|
options.Data.Set("showCustomInput", showCustomInput);
|
||||||
options.Data.Set("tool", new CodeGeneratorTool());
|
options.Data.Set("tool", new CodeGeneratorTool());
|
||||||
options.Data.Set("codeTool", new CodeGenerateTemplate());
|
options.Data.Set("codeTool", new CodeGenerateTemplate());
|
||||||
options.Data.Set("dicts", dicts);
|
options.Data.Set("dicts", dicts.DistinctBy(x => x.DictType));
|
||||||
options.Data.Set("sub", dto.GenTable.SubTable != null && dto.GenTable.SubTableName.IsNotEmpty());
|
options.Data.Set("sub", dto.GenTable.SubTable != null && dto.GenTable.SubTableName.IsNotEmpty());
|
||||||
options.EnableCache = true;
|
options.EnableCache = true;
|
||||||
//...其它数据
|
//...其它数据
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user