public static IOperationResult MonitorCloseStatus(Context ctx, IList <MonitorExecuteStatusDto> dtoList) { IOperationResult result; IBudgetMonitorService service = ServiceFactory.GetService <IBudgetMonitorService>(ctx); try { result = service.MonitorCloseStatus(ctx, dtoList); } finally { ServiceFactory.CloseService(service); } return(result); }
public static IList <MonitorEntity> GetSchemMonitorInfo(Context ctx, BudgetMonitorFilter monitorFilter) { IList <MonitorEntity> schemMonitorInfo; IBudgetMonitorService service = ServiceFactory.GetService <IBudgetMonitorService>(ctx); try { schemMonitorInfo = service.GetSchemMonitorInfo(ctx, monitorFilter); } finally { ServiceFactory.CloseService(service); } return(schemMonitorInfo); }
public static IList <SchemeMonitorEnify> GetSchemeMonitorBaseInfo(Context ctx, int schemeId) { IList <SchemeMonitorEnify> schemeMonitorBaseInfo; IBudgetMonitorService service = ServiceFactory.GetService <IBudgetMonitorService>(ctx); try { schemeMonitorBaseInfo = service.GetSchemeMonitorBaseInfo(ctx, schemeId); } finally { ServiceFactory.CloseService(service); } return(schemeMonitorBaseInfo); }
public static SchemeEntityExtend GetSchemBaseInfo(Context ctx, long schemId) { SchemeEntityExtend schemBaseInfo; IBudgetMonitorService service = ServiceFactory.GetService <IBudgetMonitorService>(ctx); try { schemBaseInfo = service.GetSchemBaseInfo(ctx, schemId); } finally { ServiceFactory.CloseService(service); } return(schemBaseInfo); }
public static DynamicObjectCollection GetMonitorSchemeIdListInfo(Context ctx) { DynamicObjectCollection monitorSchemeIdListInfo; IBudgetMonitorService service = ServiceFactory.GetService <IBudgetMonitorService>(ctx); try { monitorSchemeIdListInfo = service.GetMonitorSchemeIdListInfo(ctx); } finally { ServiceFactory.CloseService(service); } return(monitorSchemeIdListInfo); }
public static IList <BudgetExcuteStatus> GetExecuteStatusByFilter(Context ctx, BudgetMonitorFilter monitorFilter) { IList <BudgetExcuteStatus> executeStatusByFilter; IBudgetMonitorService service = ServiceFactory.GetService <IBudgetMonitorService>(ctx); try { executeStatusByFilter = service.GetExecuteStatusByFilter(ctx, monitorFilter); } finally { ServiceFactory.CloseService(service); } return(executeStatusByFilter); }