From e92383f760f42050f55aa032c649814deb3b7752 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周二, 20 5月 2025 18:17:26 +0800 Subject: [PATCH] 组件修改 --- Weben_CMS专用代码生成器/Code/MainForm.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 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 5867a50..05d18bf 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" @@ -36,7 +36,7 @@ this.tb_ChinaComment.Text = "鐗╂枡鍩虹淇℃伅琛�";//涓枃娉ㄩ噴 this.tb_MenuName.Text = "鐗╂枡淇℃伅";//涓枃娉ㄩ噴 this.tb_PageMenuInstanceName.Text = "wmsMaterial"; - this.tb_CreatePerson.Text = "shaocx";//鍒涘缓浜� + this.tb_CreatePerson.Text = "";//鍒涘缓浜� this.tb_EntityName.Text = "WmsMaterial";//瀹炰綋绫诲悕 this.tb_LikeQueryAttrs.Text = "'MaterialCode', 'MaterialName', 'Remark'"; @@ -283,6 +283,13 @@ //CreateModelFile(columnList, tableName, filePrefixName, wcf_NameSpacePath, createPerson, chinaComment, entityName, modulelogo); //CreateModelParamFile(columnList, tableName, filePrefixName, wcf_NameSpacePath, createPerson, chinaComment, entityName, modulelogo); genCodeRootPath = tbPath.Text + @"\" + tb_WCF_NameSpacePath.Text.Trim(); + + //鏄惁瑕佷簨鍏堟竻鐞嗘枃浠跺す + if (this.ck_IsDeletefile.Checked) + { + FileHelper.ClearFolder(genCodeRootPath); // 閫掑綊鍒犻櫎 + } + //var webFolerPath = (tb_WCF_NameSpacePath.Text.Trim() + "_Web").ToLower(); var webFolerPath = _tb_VueRootFolerName; #region 瀹炰綋绫� @@ -825,5 +832,10 @@ { this.tb_FilePath.Text = ""; } + + private void ck_IsDeletefile_CheckedChanged(object sender, EventArgs e) + { + + } } } -- Gitblit v1.9.3