Просмотр исходного кода

商城订单管理排除循环申请订单

lichunlei 3 лет назад
Родитель
Сommit
8295647806
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Areas/Admin/Controllers/MainServer/OrdersController.cs

+ 2 - 2
Areas/Admin/Controllers/MainServer/OrdersController.cs

@@ -71,7 +71,7 @@ namespace MySystem.Areas.Admin.Controllers
 
 
             // string condition = " and Status>=-1 and  Status<4";
-            string condition = " and Status>=-1";
+            string condition = " and Status>=-1 and Sort=0";
             //平台订单号
             if (!string.IsNullOrEmpty(OrderNo))
             {
@@ -1062,7 +1062,7 @@ namespace MySystem.Areas.Admin.Controllers
             Fields.Add("SnNos", "2"); //SN编号
             Fields.Add("TopUserId", "0");
 
-            string condition = " and Status>-1";
+            string condition = " and Status>=-1 and Sort=0";
             //创客编号
             if (!string.IsNullOrEmpty(UserIdMakerCode))
             {