24 lines
912 B
C#
24 lines
912 B
C#
using System.Collections.Generic;
|
|
using WX.CRM.Common;
|
|
using WX.CRM.Model.Entity;
|
|
|
|
namespace WX.CRM.IBLL.Res
|
|
{
|
|
public interface IRES_CALLOUTCUSTOMER
|
|
{
|
|
bool Create(ref ValidationErrors errors, WX.CRM.Model.Entity.RES_CALLOUTCUSTOMER model);
|
|
bool Delete(ref ValidationErrors errors, string resid, string callType);
|
|
List<RES_CALLOUTCUSTOMER> GetList(string resid, ref Pager pager);
|
|
|
|
List<WX.CRM.Model.Entity.RES_CALLOUTCUSTOMER> GetByResIds(string[] resId, string callType);
|
|
/// <summary>
|
|
/// 资源是否有使用该出局号码的权限
|
|
/// </summary>
|
|
/// <param name="resId"></param>
|
|
/// <param name="callType"></param>
|
|
/// <returns></returns>
|
|
bool IsCallOut(string resId, string callType);
|
|
bool CreateEntities(ref ValidationErrors errors, List<WX.CRM.Model.Entity.RES_CALLOUTCUSTOMER> entities);
|
|
}
|
|
}
|