Exemplo n.º 1
0
 public CostReport(Environment.GlobalConfig.DB.FromType fromType)
 {
     _costReport       = InventoryInstance.GetCostReportDao(fromType);
     _costReckoningDao = InventoryInstance.GetCostReckoningDao(fromType);
     _bankAccountsDao  = InventoryInstance.GetBankAccountsDao(fromType);
     _personnelManager = new PersonnelSao();
 }
Exemplo n.º 2
0
 /// <summary>
 /// for 删除
 /// </summary>
 /// <param name="goodsInfoSao"></param>
 /// <param name="purchaseSet"></param>
 public GoodsManager(IGoodsCenterSao goodsInfoSao, IPurchaseSet purchaseSet)
 {
     _goodsInfoSao        = goodsInfoSao;
     _purchaseSetManager  = purchaseSet;
     _personnelSao        = new PersonnelSao();
     _operationLogManager = new OperationLogManager();
 }
Exemplo n.º 3
0
 public GoodsManager(Environment.GlobalConfig.DB.FromType fromType = Environment.GlobalConfig.DB.FromType.Read)
 {
     _operationLogManager = new OperationLogManager();
     _personnelSao        = new PersonnelSao();
     _goodsInfoSao        = new GoodsCenterSao();
     _purchaseSetManager  = new PurchaseSet(fromType);
 }
Exemplo n.º 4
0
        public static LoginResultInfo Login(string userName, string password, IPersonnelSao iPersonnelSao)
        {
            var result = SAL.AccountSao.Login(userName, password);

            if (result.IsSuccess)
            {
                result.PersonnelInfo = new PersonnelManager(iPersonnelSao).Get(result.PersonnelInfo.PersonnelId);
            }
            return(result);
        }
Exemplo n.º 5
0
 public PurchasingManagement(IPersonnelSao personnelSao, IGoodsCenterSao goodsCenterSao)
 {
     _goodsCenterSao = goodsCenterSao;
     _personnelSao   = personnelSao;
 }
Exemplo n.º 6
0
 public PurchasingManagement(Environment.GlobalConfig.DB.FromType fromType)
 {
     _goodsCenterSao = new GoodsCenterSao();
     _personnelSao   = new PersonnelSao();
 }
Exemplo n.º 7
0
 public PersonnelManager(IPersonnelSao personnelSao)
 {
     _personnelSao = personnelSao;
 }
Exemplo n.º 8
0
 public PersonnelManager()
 {
     _personnelSao = new PersonnelSao();
 }
Exemplo n.º 9
0
 public CostReport(IBankAccounts bankAccounts, IPersonnelSao personnelSao, ICostReckoning costReckoningDao)
 {
     _bankAccountsDao  = bankAccounts;
     _personnelManager = personnelSao;
     _costReckoningDao = costReckoningDao;
 }