222
schangxiang@126.com
2025-05-04 6eb23017d39889cbcace0b2a85ebb93b81220d08
Weben_CMSרÓôúÂëÉú³ÉÆ÷/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 æ–‡ä»¶