mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update Core
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>sqlSugar</id>
|
<id>sqlSugar</id>
|
||||||
<version>4.2.1.7</version>
|
<version>4.2.1.8</version>
|
||||||
<title>SqlSugar SqlServer ORM</title>
|
<title>SqlSugar SqlServer ORM</title>
|
||||||
<authors>sun kaixuan</authors>
|
<authors>sun kaixuan</authors>
|
||||||
<owners>landa</owners>
|
<owners>landa</owners>
|
||||||
|
@@ -179,7 +179,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public virtual string GetAsString(string asName, string fieldValue)
|
public virtual string GetAsString(string asName, string fieldValue)
|
||||||
{
|
{
|
||||||
if (fieldValue.Contains(".*")) return fieldValue;
|
if (fieldValue.Contains(".*") || fieldValue == "*") return fieldValue;
|
||||||
return string.Format(" {0} {1} {2} ", GetTranslationColumnName(fieldValue), "AS", GetTranslationColumnName(asName));
|
return string.Format(" {0} {1} {2} ", GetTranslationColumnName(fieldValue), "AS", GetTranslationColumnName(asName));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,7 +190,7 @@ namespace SqlSugar
|
|||||||
|
|
||||||
public virtual string GetAsString(string asName, string fieldValue, string fieldShortName)
|
public virtual string GetAsString(string asName, string fieldValue, string fieldShortName)
|
||||||
{
|
{
|
||||||
if (fieldValue.Contains(".*")) return fieldValue;
|
if (fieldValue.Contains(".*") || fieldValue == "*") return fieldValue;
|
||||||
return string.Format(" {0} {1} {2} ", GetTranslationColumnName(fieldShortName + "." + fieldValue), "AS", GetTranslationColumnName(asName));
|
return string.Format(" {0} {1} {2} ", GetTranslationColumnName(fieldShortName + "." + fieldValue), "AS", GetTranslationColumnName(asName));
|
||||||
}
|
}
|
||||||
public virtual void Clear()
|
public virtual void Clear()
|
||||||
|
@@ -17,5 +17,5 @@ using System.Runtime.InteropServices;
|
|||||||
|
|
||||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
[assembly: Guid("1c022a5c-4e4d-4026-a8a3-f659b9740a1a")]
|
[assembly: Guid("1c022a5c-4e4d-4026-a8a3-f659b9740a1a")]
|
||||||
[assembly: AssemblyVersion("4.2.1.7")]
|
[assembly: AssemblyVersion("4.2.1.8")]
|
||||||
[assembly: AssemblyFileVersion("4.2.1.7")]
|
[assembly: AssemblyFileVersion("4.2.1.8")]
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>sqlSugarCore</id>
|
<id>sqlSugarCore</id>
|
||||||
<version>4.2.1.7</version>
|
<version>4.2.1.8</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>Landa</owners>
|
<owners>Landa</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Reference in New Issue
Block a user