/// <summary> /// 根据活动ID,与PID集合查询对应的活动信息与产品信息 /// </summary> /// <param name="activityID"></param> /// <param name="pids"></param> /// <returns></returns> public async Task <OperationResult <List <FlashSaleModel> > > SelectFlashSaleDataByActivityIdsAsync(List <FlashSaleDataByActivityRequest> flashSaleDataByActivityRequests) { if (flashSaleDataByActivityRequests.Count > 50) { return(OperationResult.FromError <List <FlashSaleModel> >(ErrorCode.ParameterError, "最多支持50个活动ID集合查询")); } return(OperationResult.FromResult(await FlashSaleManager.SelectFlashSaleDataByActivityIdsAsync(flashSaleDataByActivityRequests))); }