Ver Fonte

工单查询筛选

qiuenguang há 1 ano atrás
pai
commit
86b5972e09
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      application/api/controller/WorkOrder.php

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

@@ -121,6 +121,7 @@ class WorkOrder extends Api
         if (!empty($startTime) && !empty($endTime)){
             $where['接单日期'] = ['between',[$startTime,$endTime]];
         }
+        $where['行号'] = 1;
         $total = \db('工单_基本资料')->where($where)->count();
         $list = \db('工单_基本资料')
             ->where($where)