mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-25 01:14:33 +08:00
5.1.4.145
This commit is contained in:
parent
e6db02eb07
commit
b81f94019f
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.144</version>
|
<version>5.1.4.145</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCoreNoDrive</id>
|
<id>SqlSugarCoreNoDrive</id>
|
||||||
<version>5.1.4.144</version>
|
<version>5.1.4.145</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>
|
||||||
|
@ -338,7 +338,8 @@ namespace SqlSugar
|
|||||||
if (
|
if (
|
||||||
context?.CurrentConnectionConfig?.ConfigureExternalServices?.SplitTableService !=null
|
context?.CurrentConnectionConfig?.ConfigureExternalServices?.SplitTableService !=null
|
||||||
&& splitTableAttribute.CustomSplitTableService == null
|
&& splitTableAttribute.CustomSplitTableService == null
|
||||||
&& context.EntityMaintenance.GetEntityInfo(entityType).DbTableName?.EndsWith("_{year}{month}{day}") ==true
|
&& context.EntityMaintenance.GetEntityInfo(entityType).DbTableName?.EndsWith("_{year}{month}{day}") ==true
|
||||||
|
&& !context.EntityMaintenance.GetEntityInfo(entityType).DbTableName?.Replace("_{year}{month}{day}","")?.Contains("{") == true
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
context.CurrentConnectionConfig.ConfigureExternalServices.SplitTableService
|
context.CurrentConnectionConfig.ConfigureExternalServices.SplitTableService
|
||||||
|
Loading…
Reference in New Issue
Block a user