mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Synchronization code
This commit is contained in:
parent
7a939c4645
commit
c223e4b7c6
@ -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