39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using WX.CRM.Model.Entity;
|
|
|
|
namespace WX.CRM.BLL.Base
|
|
{
|
|
public interface IBAS_BUSINESSLINE_Q
|
|
{
|
|
Dictionary<decimal, int> GetChannelByUser(List<decimal> userId);
|
|
void InsertBusCustomerMap(string resId, int? channel, string customerfrom);
|
|
/// <summary>
|
|
/// 根据员工pkid获取事业线
|
|
/// </summary>
|
|
/// <param name="userId"></param>
|
|
/// <returns></returns>
|
|
BAS_BUSINESSLINES GetBusineeLine(decimal userId);
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="userId"></param>
|
|
/// <returns></returns>
|
|
List<BAS_BUSINESSLINES> GetBusinessLineByRoot(decimal userId);
|
|
/// <summary>
|
|
/// 获取所选部门 事业线
|
|
/// </summary>
|
|
/// <param name="deptIds"></param>
|
|
/// <returns></returns>
|
|
List<BAS_BUSINESSLINES> GetBusinessLineByAnyUser(IList<decimal> deptIds);
|
|
/// <summary>
|
|
/// 获取下订单时候 部门归属对应的事业部
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
List<string> GetDeptCodeMapByBusinessId(decimal? businessId);
|
|
}
|
|
}
|