|
@@ -253,7 +253,7 @@ class Decision extends Api
|
|
|
'SUM(b.sczl_异常停机工时)' => '异常停机工时'
|
|
'SUM(b.sczl_异常停机工时)' => '异常停机工时'
|
|
|
])
|
|
])
|
|
|
->where($where)
|
|
->where($where)
|
|
|
- ->whereTime('b.sczl_rq',$mouth)
|
|
|
|
|
|
|
+ ->where('b.sczl_rq','like', $mouth.'%')
|
|
|
->find();
|
|
->find();
|
|
|
$list['total'] = $total;
|
|
$list['total'] = $total;
|
|
|
$this->success('成功',$list);
|
|
$this->success('成功',$list);
|