use of com.actionworks.flashsale.domain.model.PagesQueryCondition in project flash-sale by ThoughtsBeta.
the class FlashOrderDomainServiceImpl method getOrders.
@Override
public List<FlashOrder> getOrders(PagesQueryCondition pagesQueryCondition) {
if (pagesQueryCondition == null) {
pagesQueryCondition = new PagesQueryCondition();
}
List<FlashOrder> flashOrders = flashOrderRepository.findFlashOrdersByCondition(pagesQueryCondition.buildParams());
logger.info("Get flash orders:{},{}", flashOrders.size());
return flashOrders;
}
Aggregations