From 17507355c8587d5f0f7f7f477937a354d89c8333 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周四, 25 4月 2024 12:59:18 +0800 Subject: [PATCH] 优化if (isExist) throw Oops.Oh(ErrorCode.E0001);,提示的更细节一些 --- iWare_RawMaterialWarehouse_Wms/Admin.NET.Application/Service/System/CodeGen/CodeGenConfigService.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Application/Service/System/CodeGen/CodeGenConfigService.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Application/Service/System/CodeGen/CodeGenConfigService.cs index a1b23b9..2329610 100644 --- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Application/Service/System/CodeGen/CodeGenConfigService.cs +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Application/Service/System/CodeGen/CodeGenConfigService.cs @@ -159,7 +159,7 @@ codeGenConfig.WhetherTable = YesOrNo; codeGenConfig.WhetherOrderBy = YesOrNo; //鏄惁鑱斿悎涓婚敭 update by liuwq 20240418 - codeGenConfig.WhetherRequired = YesOrNot.N.ToString(); + codeGenConfig.WhetherUnionKey = YesOrNot.N.ToString(); codeGenConfig.ColumnKey = tableColumn.ColumnKey; codeGenConfig.DataType = tableColumn.DataType; -- Gitblit v1.9.3