Zxd.Core/code/Zxd.Core.Domain/Impl/ICustomerDomain.cs

59 lines
1.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zxd.Core.Domain.Dto.Wework;
namespace Zxd.Domain.Impl
{
public interface ICustomerDomain : IScopedDependency
{
Task<List<string>> GetUsernames(string? resid);
Task<List<userRet>> GetUsernamesByOrderid(string orderidList);
public class userRet
{
public string orderid { set; get; }
public string softwarename { set; get; }
}
Task<CreateCustomerRes> CreateCustomer(string MOBILE, string ResId, string CustomerFrom);
Task<List<SalesLeadDto>> GetSalesLeadList(string? resId);
Task<List<WwUserFollowOutDto>> GetFollow(List<WwUserFollowInDto> queryList);
Task<List<ExUserModel>> GetWorkWXUserSelectAsync(string? resId, string? DeptCode);
Task<List<string>> ExtUserBandGetAsync(string? resId);
Task<List<string>> GetResidByExtuser(List<string> extUser);
Task<IList<string>> GetPhoneByUnionid(string unionid);
/// <summary>
/// 添加标签数据
/// </summary>
/// <param name="resid"></param>
/// <param name="tag"></param>
/// <returns></returns>
/// <exception cref="ApiException"></exception>
Task<bool> AddTag(string resid, string tag, int ceid);
/// <summary>
/// 删除标签
/// </summary>
/// <param name="resid"></param>
/// <param name="tag"></param>
/// <returns></returns>
Task<bool> DelTag(int id, int deleteeid);
/// <summary>
/// 获取标签列表
/// </summary>
/// <param name="resid"></param>
/// <returns></returns>
Task<List<Res_Tag>> GetTag(string resid);
}
}