@@ -25,9 +25,8 @@ class Decision extends Api
$this->error('请求错误');
}
$mouth = \db('设备_产量计酬')
- ->whereTime('sczl_rq', 'month')
+ ->distinct(true)
->field('DATE_FORMAT(sczl_rq, "%Y-%m") AS month')
- ->group('month')
->order('month desc')
->select();
$sist = \db('设备_基本资料')