|
|
@@ -538,7 +538,7 @@ class PushBaseDataToCalc extends BaseBusiness
|
|
|
$where = 'IS_DELETE = 0 AND PERIOD_NUM=' . $this->_periodNum;
|
|
|
}
|
|
|
if ($table == 'AR_ORDER_GOODS') {
|
|
|
- $orderSn = Order::find()->select(['SN'])->where('IS_DELETE = 0 AND PERIOD_NUM=' . $this->_periodNum)->asArray()->all();
|
|
|
+ $orderSn = Order::find()->select('SN')->where('IS_DELETE = 0 AND PERIOD_NUM=' . $this->_periodNum)->column();
|
|
|
$where = 'ORDER_SN IN (' . implode(',', $orderSn) . ')';
|
|
|
}
|
|
|
|