public void LoadInMasterData(DateTime beginDate, DateTime endDate, int deptId, string getType, string opType) { try { _queryType = getType; _totalInRetailFee = 0; _totalInStockFee = 0; _totalInStoreInfo.Rows.Clear(); _inStoreInfo = YP_Loader.LoadInStoreInfo(beginDate, endDate, deptId, opType); GetTotalInStoreInfo(_queryType); _frmInOutQuery.RefreshInMaster(_totalInStoreInfo); _frmInOutQuery.SetTotalFee(_totalInRetailFee, _totalInStockFee); } catch (Exception error) { throw error; } }