/// <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)); }
public FNA_AmountReceivableBLL(int id, bool bycache) : base(DALClassName) { _dal = (FNA_AmountReceivableDAL)_DAL; FillModel(id, bycache); }
/// <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)); }
///<summary> ///FNA_AmountReceivableBLL ///</summary> public FNA_AmountReceivableBLL() : base(DALClassName) { _dal = (FNA_AmountReceivableDAL)_DAL; _m = new FNA_AmountReceivable(); }