/// <summary> /// 将合同陈列协议批量生成费用申请单 /// </summary> /// <param name="OrganizeCity"></param> /// <param name="AccountMonth"></param> /// <param name="DIClient"></param> /// <param name="Staff"></param> /// <param name="IsNKA"></param> /// <returns></returns> public static int CreateCLFeeApply(int OrganizeCity, int AccountMonth, int DIClient, int Staff, bool IsNKA, int FeeType) { CM_ContractDAL dal = (CM_ContractDAL)DataAccess.CreateObject(DALClassName); return(dal.CreateCLFeeApply(OrganizeCity, AccountMonth, DIClient, Staff, IsNKA, FeeType)); }
public CM_ContractBLL(int id, bool bycache) : base(DALClassName) { _dal = (CM_ContractDAL)_DAL; FillModel(id, bycache); }
public static DataTable GetPartyC(int ClientID) { CM_ContractDAL dal = (CM_ContractDAL)DataAccess.CreateObject(DALClassName); return(Tools.ConvertDataReaderToDataTable(dal.GetPartyC(ClientID))); }
public CM_ContractBLL(int id) : base(DALClassName) { _dal = (CM_ContractDAL)_DAL; FillModel(id); }
///<summary> ///CM_ContractBLL ///</summary> public CM_ContractBLL() : base(DALClassName) { _dal = (CM_ContractDAL)_DAL; _m = new CM_Contract(); }
/// <summary> /// 获取导购协议列表详细信息 /// </summary> /// <param name="OrganizeCity">管理片区</param> /// <param name="Level">等级</param> /// <param name="State">状态</param> /// <param name="BeginDate">开始日期</param> /// <param name="EndDate">结束日期</param> /// <param name="StaffID">员工ID</param> /// <param name="RTChannel">门店渠道</param> /// <returns></returns> public static DataTable GetPMListDetail(int OrganizeCity, int Level, int State, int StaffID, int RTChannel) { CM_ContractDAL dal = (CM_ContractDAL)DataAccess.CreateObject(DALClassName); return(dal.GetPMListDetail(OrganizeCity, Level, State, StaffID, RTChannel)); }
/// <summary> /// 获取导购合同申请的最大月份 指定门店不指定合同 /// </summary> /// <param name="Client">门店ID</param> /// <returns>最大月份</returns> public int CheckPMFeeApplyLastMonth(int Client) { CM_ContractDAL dal = (CM_ContractDAL)DataAccess.CreateObject(DALClassName); return(dal.CheckPMFeeApplyLastMonth(this.Model.ID, Client)); }
/// <summary> /// 获取批量审批数据 /// </summary> /// <param name="OrganizeCity">片区</param> /// <param name="State">状态:0所有 1待我审批 2我已审批</param> /// <param name="Staff">审批人</param> /// <param name="Classify">合同类型</param> /// <returns></returns> public static DataTable GetApproveSummary(int OrganizeCity, int State, int Staff, int Classify, int PayMode, string ExtCondition) { CM_ContractDAL dal = (CM_ContractDAL)DataAccess.CreateObject(DALClassName); return(Tools.ConvertDataReaderToDataTable(dal.GetApproveSummary(OrganizeCity, State, Staff, Classify, PayMode, ExtCondition))); }