Мелкая правка для возможно более корректной работы.
This commit is contained in:
parent
d82537bb74
commit
9931a4508c
@ -44,20 +44,20 @@ namespace BlacksmithWorkshopBusinessLogic.BusinessLogic
|
||||
|
||||
if (orders == null || orders.Count == 0)
|
||||
{
|
||||
orders = _orderLogic.ReadList(new OrderSearchModel
|
||||
var secondCheckOrders = _orderLogic.ReadList(new OrderSearchModel
|
||||
{
|
||||
Status = OrderStatus.Ожидание
|
||||
});
|
||||
|
||||
if (orders == null || orders.Count == 0)
|
||||
if (secondCheckOrders == null || orders.Count == 0)
|
||||
{
|
||||
|
||||
orders = _orderLogic.ReadList(new OrderSearchModel
|
||||
var thirdCheckOrders = _orderLogic.ReadList(new OrderSearchModel
|
||||
{
|
||||
Status = OrderStatus.Выполняется
|
||||
});
|
||||
|
||||
if (orders == null || orders.Count == 0)
|
||||
if (thirdCheckOrders == null || orders.Count == 0)
|
||||
{
|
||||
|
||||
_logger.LogWarning("All orders is done.");
|
||||
|
Loading…
Reference in New Issue
Block a user