public void LoadCenterFeeItem( int iAudit, int iStop, int workId, string strKey, int iStatID, int pageIndex, int pageSize, IFrmFeeItem frmFI) { var retdata = InvokeWcfService( "BaseProject.Service", "FeeItemController", "GetCenterFeeItems", (request) => { request.AddData(workId); request.AddData(iAudit); request.AddData(iStop); request.AddData(strKey); request.AddData(iStatID); request.AddData(pageIndex); request.AddData(pageSize); }); var cfeeitems = retdata.GetData <List <Basic_CenterFeeItem> >(0); var totalCount = retdata.GetData <int>(1); frmFI.LoadFeeItem(cfeeitems, totalCount); }
public void LoadBasicData(IFrmFeeItem frmFI) { var retdata = InvokeWcfService( "BaseProject.Service", "FeeItemController", "GetBasicData", (request) => { }); var dtStatID = retdata.GetData <DataTable>(0); frmFI.LoadBasicData(dtStatID); }
public void LoadCFeeItem(int iCenterFeeItem, IFrmFeeItem frmFI) { var retdata = InvokeWcfService( "BaseProject.Service", "FeeItemController", "GetCenterFeeItem", (request) => { request.AddData(iCenterFeeItem); }); var cfeeitem = retdata.GetData <Basic_CenterFeeItem>(0); frmFI.LoadCenterFeeItem(cfeeitem); }
public void LoadBasicWorkers(IFrmFeeItem frmFI) { var retdata = InvokeWcfService( "BaseProject.Service", "WorkerController", "GetWorkers", (request) => { request.AddData(false); }); var workers = retdata.GetData <List <BaseWorkers> >(0); frmFI.LoadBasicWorkers(workers); }
public void LoadHospFeeItem(int iStatID, int iStop, string strKey, int pageIndex, int pageSize, IFrmFeeItem frmFI) { var retdata = InvokeWcfService( "BaseProject.Service", "FeeItemController", "GetHospFeeItems", (request) => { request.AddData(LoginUserInfo.WorkId); request.AddData(iStatID); request.AddData(iStop); request.AddData(strKey); request.AddData(pageIndex); request.AddData(pageSize); }); var hfeeitems = retdata.GetData <List <Basic_HospFeeItem> >(0); var totalCount = retdata.GetData <int>(1); frmFI.LoadFeeItem(hfeeitems, totalCount); }