/// <summary> /// 用户库存信息查询 /// </summary> /// <param name="userId"></param> public ErrType GetAdminUserStockInfo(string loginID, string userId, ref BzjInfoInformation bzjInfo, int roleType) { try { StockEntity info = _IManagerBzj.GetAdminUserStockInfo(loginID, userId,roleType); bzjInfo = MyConverter.ToBzjInfo(info); return info.Result ? GeneralErr.Success : new ErrType(ERR.SERVICE, info.Desc); } catch (Exception ex) { Console.WriteLine("用户库存信息查询:" + ex.Message + ex.StackTrace); return null; } }
/// <summary> /// 实例化一个后台管理View Mode对象 /// </summary> private ManagementViewModel() { lockobj = new Object(); _TradeJuJianInfo = new ClientTradeJuJianInfo(); _dpObj = new DependencyObject(); LogRequestInfo = new LogRequestInformation(); ClientAccFilter = new ClientAccountFilter(); OnlineClientAccFilter = new ClientAccountFilter(); MarketOrderRequestInfo = new RequestInformationBase(); PendingOrderRequestInfo = new RequestInformationBase(); HedgingTradeRequestInfo = new RequestInformationBase(); StatementsRequestInfo = new StatementsRequestInformation(); _businessService = new BusinessServiceProvider(); _tradeService = new TradeServiceProvider(); _bzjService = new BzjServiceProvider(); // GetNewsCondition = new SelectCondition(); _BzjInfoInformation = new BzjInfoInformation(); TakeGoodsDetialSelectCondition = new SelectCondition(); _TakeGoodsDetailList = new ObservableCollection<BzjTakeGoodsDetailEntity>(); BindingJgjAccountCondition = new SelectCondition(); _DeliveryGoodsCondition = new SelectCondition(); _DeliveryGoodsList = new ObservableCollection<BzjDeliverEntity>(); _TakeGoodsCondition = new SelectCondition(); _TakeGoodsList = new ObservableCollection<BzjOrderEntity>(); _BackGoodsCondition = new SelectCondition(); _BackGoodsList = new ObservableCollection<BzjOrderEntity>(); _JgjGoodsCondition = new SelectCondition(); _JgjGoodsList = new ObservableCollection<BzjOrderEntity>(); _DeliveryBackGoodsCondition = new SelectCondition(); _DeliveryBackGoodsList = new List<BzjRecoverOrder>(); _GetClerkCondition = new SelectCondition(); _ClerkAccountList = new ObservableCollection<BzjClerk>(); InterOfficeSelectCondtion = new SelectCondition(); ClientAccountSelectCondition = new SelectCondition(); OnlineAccountSelectCondition = new SelectCondition(); ManagerAccountSelectCondition = new SelectCondition(); OrgAccountSelectCondition = new SelectCondition(); FundReportSelectCondition = new SelectCondition(); OrgSelectCondition = new SelectCondition(); ChuJinSelectCondition = new SelectCondition(); TerminationSelectCondition = new SelectCondition(); TradeConfigInfoList = new ObservableCollection<TradeConfigInfo>(); NewsList = new ObservableCollection<NewsInfo>(); ArtilesList = new ObservableCollection<NewsInfo>(); AdvertList = new ObservableCollection<AdvertInfo>(); GetNewsCondition = new SelectCondition(); GetArticlesCondition = new SelectCondition(); GetAdvertCondition = new SelectCondition(); FundReportList = new ObservableCollection<FundChangeInformation>(); ChuJinList = new ObservableCollection<TradeChuJinInformation>(); OrgList = new ObservableCollection<OrgInfo>(); UserGroups = new ObservableCollection<UserGroup>(); UserGroupSelectCon = new SelectCondition(); GroupAccounts = new ObservableCollection<ClientAccount>(); }