using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Server
{
///
/// 客户辅助类
///
internal class CorpHelper
{
///
/// 获取客户标识列表
///
public static List GetCorpIds()
{
var corpIds = Settings.Eta.Target.CorpIds;
if (corpIds == null || corpIds.Count < 1)
{
return default;
}
if (Settings.Eta.Target.ContainsChildren)
{
corpIds = new Service.Corpration().GetChildAndSelfIdsByIds(corpIds);
}
return corpIds;
}
}
}