|
|
@@ -344,7 +344,7 @@ class CalcController extends BaseController
|
|
|
public function actionRecordList()
|
|
|
{
|
|
|
$periodNum = \Yii::$app->request->get('periodNum');
|
|
|
- $data = CalcRecord::lists('CALC_ID=:PERIOD_NUM', [':PERIOD_NUM' => $periodNum], ['orderBy' => 'CREATE_TIME ASC']);
|
|
|
+ $data = CalcRecord::find()->where('CALC_ID=:PERIOD_NUM', [':PERIOD_NUM' => $periodNum])->orderBy('CREATE_TIME ASC')->asArray()->all();
|
|
|
return static::notice($data);
|
|
|
}
|
|
|
|