public void LoadOutMasterData(DateTime beginDate, DateTime endDate, int deptId, string opType) { try { _totalOutRetailFee = 0; _totalOutTradeFee = 0; _totalOutStoreInfo.Rows.Clear(); _outStoreInfo = YP_Loader.LoadOutStoreInfo(beginDate, endDate, deptId, opType); GetTotalOutStoreInfo(opType); _frmInOutQuery.RefreshOutMaster(_totalOutStoreInfo); _frmInOutQuery.SetTotalFee(_totalOutRetailFee, _totalOutTradeFee); } catch (Exception error) { throw error; } }