/// <summary> /// 查询汽修商户库存信息 /// </summary> /// <param name="paramAutoFactoryCustomerDbConfig"></param> /// <param name="paramInventory"></param> /// <param name="paramIsDifferentiateOrg"></param> /// <returns></returns> public List <ARInventoryUIModel> QueryInventoryList(string paramAutoFactoryCustomerDbConfig, ARInventoryAndTransLogQCModel paramInventory, bool paramIsDifferentiateOrg) { if (paramInventory == null || string.IsNullOrEmpty(paramAutoFactoryCustomerDbConfig)) { return(null); } List <ARInventoryUIModel> resultInventoryList = new List <ARInventoryUIModel>(); if (paramIsDifferentiateOrg) { //考虑汽修商户组织 DBManager.QueryForList <ARInventoryUIModel>(paramAutoFactoryCustomerDbConfig, SQLID.IS_AutoFactoryInventoryQuery_SQL02, paramInventory, resultInventoryList); } else { //不考虑汽修商户组织 DBManager.QueryForList <ARInventoryUIModel>(paramAutoFactoryCustomerDbConfig, SQLID.IS_AutoFactoryInventoryQuery_SQL03, paramInventory, resultInventoryList); } return(resultInventoryList); }
/// <summary> /// 查询汽修商户的库存异动日志 /// </summary> /// <param name="paramAutoFactoryCustomerDbConfig"></param> /// <param name="paramInventoryTransLog"></param> /// <returns></returns> public List <ARInventoryTransLogUIModel> QueryInventoryTransLogList(string paramAutoFactoryCustomerDbConfig, ARInventoryAndTransLogQCModel paramInventoryTransLog) { if (paramInventoryTransLog == null || string.IsNullOrEmpty(paramAutoFactoryCustomerDbConfig)) { return(null); } List <ARInventoryTransLogUIModel> resultInventoryTransLogList = new List <ARInventoryTransLogUIModel>(); DBManager.QueryForList <ARInventoryTransLogUIModel>(paramAutoFactoryCustomerDbConfig, SQLID.IS_AutoFactoryInventoryQuery_SQL01, paramInventoryTransLog, resultInventoryTransLogList); return(resultInventoryTransLogList); }