From 6eb23017d39889cbcace0b2a85ebb93b81220d08 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周日, 04 5月 2025 10:31:20 +0800
Subject: [PATCH] 222

---
 Weben_CMS专用代码生成器/Code/MainForm.cs |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs" "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs"
index 0c0bbff..577ca9b 100644
--- "a/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs"
+++ "b/Weben_CMS\344\270\223\347\224\250\344\273\243\347\240\201\347\224\237\346\210\220\345\231\250/Code/MainForm.cs"
@@ -7,6 +7,7 @@
 using System.Windows.Forms.VisualStyles;
 using GenerateCode_WeiBen_WMS.DataBaseFactory;
 using GenerateCode_WeiBen_WMS.Const;
+using GenerateCode_WeiBen_WMS.Model;
 
 namespace GenerateCode_GEBrilliantFactory
 {
@@ -154,12 +155,21 @@
                 string str_generate = "";
                 bool tf;
 
+                GenerateCodeParam param = new GenerateCodeParam()
+                {
+                    Modulelogo = modulelogo,
+                    ChinaComment = chinaComment,
+                    NameSpacePath = wcf_NameSpacePath,
+                    ColumnNameList = columnList,
+                    EntityName = entityName
+                };
+
                 //鐢熸垚Model
                 //CreateModelFile(columnList, tableName, filePrefixName, wcf_NameSpacePath, createPerson, chinaComment, entityName, modulelogo);
                 //CreateModelParamFile(columnList, tableName, filePrefixName, wcf_NameSpacePath, createPerson, chinaComment, entityName, modulelogo);
 
-                //鐢熸垚 InputModel 鏂囦欢
-                str_generate = InputModel_Generate.CreateQueryModelLText(modulelogo, chinaComment, columnList, entityName);
+                //1銆佺敓鎴� 鍒嗛〉鏌ヨ 鏂囦欢
+                str_generate = InputModel_Generate.CreateQueryModelLText(param);
                 tf = TextHelper.Export2File_V2(tbPath.Text + @"\server\src\CMS.Plugin." + tb_WCF_NameSpacePath.Text.Trim() + @".Application.Contracts\Dtos\" + tb_EntityName.Text.Trim(), tableName, str_generate, FileType.InputModel, filePrefixName, entityName, modulelogo);
 
                 ////鐢熸垚 OutputModel 鏂囦欢

--
Gitblit v1.9.3