コード例 #1
0
        /// <summary>
        /// 返回指定客户当前应收账款余额
        /// </summary>
        /// <param name="client"></param>
        /// <returns></returns>
        public static decimal GetAmountByClient(int client)
        {
            FNA_AmountReceivableDAL dal = (FNA_AmountReceivableDAL)DataAccess.CreateObject(DALClassName);

            return(dal.GetAmountByClient(client));
        }
コード例 #2
0
 public FNA_AmountReceivableBLL(int id, bool bycache)
     : base(DALClassName)
 {
     _dal = (FNA_AmountReceivableDAL)_DAL;
     FillModel(id, bycache);
 }
コード例 #3
0
        /// <summary>
        /// 变更应收账款
        /// </summary>
        /// <param name="client"></param>
        /// <param name="changeamount"></param>
        /// <param name="changetype"></param>
        /// <param name="changestaff"></param>
        /// <param name="relateinfo"></param>
        /// <returns></returns>
        public static int Change(int client, decimal changeamount, int changetype, int changestaff, string relateinfo)
        {
            FNA_AmountReceivableDAL dal = (FNA_AmountReceivableDAL)DataAccess.CreateObject(DALClassName);

            return(dal.Change(client, changeamount, changetype, changestaff, relateinfo));
        }
コード例 #4
0
 ///<summary>
 ///FNA_AmountReceivableBLL
 ///</summary>
 public FNA_AmountReceivableBLL()
     : base(DALClassName)
 {
     _dal = (FNA_AmountReceivableDAL)_DAL;
     _m   = new FNA_AmountReceivable();
 }