From 391c4d67ad70df01c3bb849c16e8479edb86846d Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 15 10月 2025 14:04:59 +0800 Subject: [PATCH] qww --- Weben_CMS专用代码生成器/Code/Generate/AppService/AppService_Generate.cs | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 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/Generate/AppService/AppService_Generate.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/Generate/AppService/AppService_Generate.cs" index aed1c6d..b7b6d7b 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/Generate/AppService/AppService_Generate.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/Generate/AppService/AppService_Generate.cs" @@ -22,11 +22,13 @@ string attrString = ""; List<ColumnModel> newColumnNameList = ListHelper.RemoveAttrForUpdateMode(param.ColumnNameList); - for (int i = 0; i < newColumnNameList.Count; ++i) - { - attrString += StructStrHelper.GenerateAttributeForUpdateModel(newColumnNameList[i], param); - } - str = str.Replace("$UpdateAttributes$", attrString); + + //浼樺寲锛岃繖涓湴鏂逛笉鐢ㄤ簡 + //for (int i = 0; i < newColumnNameList.Count; ++i) + //{ + // attrString += StructStrHelper.GenerateAttributeForUpdateModel(newColumnNameList[i], param); + //} + //str = str.Replace("$UpdateAttributes$", attrString); attrString = ""; for (int i = 0; i < newColumnNameList.Count; ++i) @@ -42,13 +44,13 @@ } str = str.Replace("$UpdateAttributesForCheckCreateOrUpdateDtoAsync$", attrString); - - attrString = ""; - for (int i = 0; i < newColumnNameList.Count; ++i) - { - attrString += StructStrHelper.GenerateAttribute_AppService_ImportAsync(newColumnNameList[i], param); - } - str = str.Replace("$AppService_ImportAsync$", attrString); + //浼樺寲锛岃繖浠g爜涓嶇敤浜� + //attrString = ""; + //for (int i = 0; i < newColumnNameList.Count; ++i) + //{ + // attrString += StructStrHelper.GenerateAttribute_AppService_ImportAsync(newColumnNameList[i], param); + //} + //str = str.Replace("$AppService_ImportAsync$", attrString); return str; } -- Gitblit v1.9.3