mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Synchronization code
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user