feat:代码生成模板新增下拉多选查询

This commit is contained in:
不做码农
2022-12-06 13:38:15 +08:00
parent f5c0588f42
commit cfc8eee2a3
5 changed files with 19 additions and 7 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ namespace ZR.Model.System.Generate
get
{
string[] arr = new string[] { "int", "long" };
return (!IsRequired && (arr.Any(f => f.Contains(CsharpType))) || typeof(DateTime).Name == CsharpType) ? "?" : "";
return (!IsRequired && HtmlType != "selectMulti" && (arr.Any(f => f.Contains(CsharpType))) || typeof(DateTime).Name == CsharpType) ? "?" : "";
}
}
/// <summary>