duhongyu %!s(int64=5) %!d(string=hace) años
padre
commit
0ec952c547

+ 1 - 1
代码/TVShoppingCallCenter_ZLJ/Controllers/Traffic/SetAreaController.cs

@@ -311,7 +311,7 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.Traffic
311 311
                     if (_sys_areaRepository.Update(ml).Result)
312 312
                         res += 1;
313 313
                 }
314
-                if (res == ids.Length)
314
+                if (res == _ids.Count ())
315 315
                     return Success("删除成功");
316 316
                 else if (res > 0 && res < ids.Length)
317 317
                     return Error("部分删除失败,请查看后重新操作");