This commit is contained in:
2021-08-16 23:18:37 +00:00
parent 023dfa5ab6
commit b827ec1285
32 changed files with 122 additions and 105 deletions

View File

@@ -251,7 +251,7 @@ namespace AyaNova.Biz
private async Task ValidateAsync(HeadOffice proposedObj, HeadOffice currentObj)
{
//skip validation if seeding
if (ServerBootConfig.SEEDING) return;
if(ServerBootConfig.SEEDING) return;
bool isNew = currentObj == null;
@@ -472,7 +472,7 @@ namespace AyaNova.Biz
public async Task HandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
{
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<HeadOfficeBiz>();
if (ServerBootConfig.SEEDING) return;
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{this.BizType}, AyaEvent:{ayaEvent}]");
bool isNew = currentObj == null;