mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
-
This commit is contained in:
@@ -36,7 +36,7 @@ namespace SqlSugar
|
|||||||
var groupList = DbColumnInfoList.GroupBy(it => it.TableId).ToList();
|
var groupList = DbColumnInfoList.GroupBy(it => it.TableId).ToList();
|
||||||
var isSingle = groupList.Count() == 1;
|
var isSingle = groupList.Count() == 1;
|
||||||
string columnsString = string.Join(",", groupList.First().Select(it => Builder.GetTranslationColumnName(it.DbColumnName)));
|
string columnsString = string.Join(",", groupList.First().Select(it => Builder.GetTranslationColumnName(it.DbColumnName)));
|
||||||
if (isSingle)
|
if (isSingle&&this.EntityInfo.EntityName!= "Dictionary`2")
|
||||||
{
|
{
|
||||||
string columnParametersString = string.Join(",", this.DbColumnInfoList.Select(it => Builder.SqlParameterKeyWord + it.DbColumnName));
|
string columnParametersString = string.Join(",", this.DbColumnInfoList.Select(it => Builder.SqlParameterKeyWord + it.DbColumnName));
|
||||||
if (identities.HasValue())
|
if (identities.HasValue())
|
||||||
@@ -112,10 +112,6 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (value.GetType() == UtilConstants.StringType && value.ToString().Contains("{SugarSeq:=}"))
|
|
||||||
{
|
|
||||||
return value.ToString().Replace("{SugarSeq:=}", "");
|
|
||||||
}
|
|
||||||
var type = UtilMethods.GetUnderType(value.GetType());
|
var type = UtilMethods.GetUnderType(value.GetType());
|
||||||
if (type == UtilConstants.DateType)
|
if (type == UtilConstants.DateType)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user