|
@@ -191,7 +191,8 @@ class GluingSalary extends Api
|
|
|
$this->error('参数错误');
|
|
$this->error('参数错误');
|
|
|
}
|
|
}
|
|
|
$list = \db('糊盒工资汇总')
|
|
$list = \db('糊盒工资汇总')
|
|
|
- ->field('sczl_gdbh,sczl_gxmc,DATE_FORMAT(sczl_rq, "%Y.%m.%d") as 日期,sczl_jtbh,cpdh,cpmc,保养工时,装版工时,异常工时,设备运行工时,rate as 分配比例')
|
|
|
|
|
|
|
+ ->field('sczl_gdbh,sczl_gxmc,DATE_FORMAT(sczl_rq, "%Y.%m.%d") as 日期,sczl_jtbh,cpdh,cpmc,保养工时,装版工时,
|
|
|
|
|
+ 异常工时,设备运行工时,rate as 分配比例,sczl_cl')
|
|
|
->where([
|
|
->where([
|
|
|
'sczl_rq' => ['like',$req['date'].'%'],
|
|
'sczl_rq' => ['like',$req['date'].'%'],
|
|
|
'bh' => $req['code']
|
|
'bh' => $req['code']
|