Browse Source

侧边栏接口优化

曹鹤洋 1 year ago
parent
commit
81fe96a876
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/EmployeeDailySalary.php

+ 1 - 0
application/api/controller/EmployeeDailySalary.php

@@ -36,6 +36,7 @@ class EmployeeDailySalary extends Api
             ->field('DATE_FORMAT(`sczl_rq`, "%Y%m") as sys_ny,bh')
             ->group('DATE_FORMAT(`sczl_rq`, "%Y%m"),bh')
             ->whereTime('sczl_rq', '>=', strtotime('-14 months'))
+            ->where('bh','<>','000000')
             ->order('sczl_rq desc')
             ->select();
         foreach($res as $v){