فهرست منبع

修改网格化接口

qiuzijian 11 ماه پیش
والد
کامیت
92bcafcc05
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      Modules/Admin/Services/ApiService.php

+ 3 - 3
Modules/Admin/Services/ApiService.php

@@ -203,7 +203,7 @@ class ApiService{
                         ->where(DB::raw('DATE(lrsj)'), $val->lrdate)
                         ->where('lrr', $val->lrr)->count();
 
-            if ($detail <= 0) {
+            if ($allcount <= 0) {
                 continue;
             }
 
@@ -278,7 +278,7 @@ class ApiService{
                         ->where(DB::raw('DATE(lrsj)'), $val->lrdate)
                         ->where('lrr', $person_id)->count();
 
-            if ($detail <= 0) {
+            if ($allcount <= 0) {
                 continue;
             }
 
@@ -408,7 +408,7 @@ class ApiService{
                         ->where(DB::raw('DATE(lrsj)'), $val->lrdate)
                         ->where('lrr', $val->lrr)->count();
 
-            if ($detail <= 0) {
+            if ($allcount <= 0) {
                 continue;
             }