zgg 4 months ago
parent
commit
86749c7e54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/screen/Waste.php

+ 1 - 1
application/api/controller/screen/Waste.php

@@ -175,7 +175,7 @@ class Waste extends Index
         if($month !=''){
             if($month > 0 && $month < 10){
                 $date = date('Y').'0'.$month;
-            }elseif ($month >10){
+            }elseif ($month >=10){
                 $date = date('Y').$month;
             }
         }else{