|
|
@@ -1722,8 +1722,8 @@ class OrderSuperLoss extends Api
|
|
|
->field($field)
|
|
|
->where($where)
|
|
|
->where('a.jjcp_smb','like','末%')
|
|
|
- ->group('b.Gy0_gdbh, b.`印件及工序`')
|
|
|
- ->order('b.sys_rq DESC')
|
|
|
+ ->group('Gd_gdbh,jjcp_yjno')
|
|
|
+ ->order('warehousing_date DESC')
|
|
|
->page($pages)
|
|
|
->limit($limit)
|
|
|
->select();
|