This commit is contained in:
2018-08-31 20:41:29 +00:00
parent 5a8f81f57f
commit 8208a1d67f
3 changed files with 14 additions and 9 deletions

View File

@@ -120,7 +120,7 @@ namespace AyaNova.Biz
//IMPORT Scheduleable User Groups AS TAGS
await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", "main", AyaType.Tag, job.GId, importMap, importFileName, zipEntries);
//Now can set users to correct tag for scheduleable user group
await DoImport("GZTW.AyaNova.BLL.User", "scheduleableusergrouptags", AyaType.User, job.GId, importMap, importFileName, zipEntries);
await DoImport("GZTW.AyaNova.BLL.ScheduleableUserGroup", "scheduleableusergrouptags", AyaType.Tag, job.GId, importMap, importFileName, zipEntries);

View File

@@ -333,6 +333,14 @@ namespace AyaNova.Biz
}
break;
case "scheduleableusergrouptags":
{
var V7Id = new Guid(j["ID"].Value<string>());
var RavenId = importMap.Where(m => m.V7ObjectId == V7Id).First().NewObjectAyaTypeId.ObjectId;
//handle tag entries for users now that we have the SUG tags created
// throw new System.NotImplementedException();
}
break;
}

View File

@@ -414,6 +414,7 @@ namespace AyaNova.Biz
{
case "main":
{
#region Main import
var V7Id = new Guid(j["ID"].Value<string>());
//skip the administrator account but add it to the map for all the other import code that requires it
@@ -470,6 +471,7 @@ namespace AyaNova.Biz
importMap.Add(mapItem);
}
#endregion
}
break;
case "eventlog":
@@ -479,6 +481,7 @@ namespace AyaNova.Biz
break;
case "locale":
{
#region set locale
//get the userId
//----
var V7Id = new Guid(j["ID"].Value<string>());
@@ -531,16 +534,10 @@ namespace AyaNova.Biz
u.LocaleId = LocaleBiz.LocaleNameToIdStatic(NewLocaleName, ct);
ct.SaveChanges();
}
break;
case "scheduleableusergrouptags":
{
var V7Id = new Guid(j["ID"].Value<string>());
//handle tag entries for users now that we have the SUG tags created
// throw new System.NotImplementedException();
#endregion set locale
}
break;
case "clientid":
{
var V7Id = new Guid(j["ID"].Value<string>());