using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace IStation.Server
|
{
|
/// <summary>
|
/// 客户辅助类
|
/// </summary>
|
internal class CorpHelper
|
{
|
/// <summary>
|
/// 获取客户标识列表
|
/// </summary>
|
public static List<long> 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;
|
}
|
|
|
}
|
}
|