mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
7a939c4645
commit
c223e4b7c6
@ -338,7 +338,8 @@ namespace SqlSugar
|
||||
if (
|
||||
context?.CurrentConnectionConfig?.ConfigureExternalServices?.SplitTableService !=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
|
||||
|
Loading…
Reference in New Issue
Block a user