update biface local

This commit is contained in:
2020-12-01 16:47:43 +07:00
parent 73b44eb2af
commit efb4113001
21 changed files with 883 additions and 57 deletions

View File

@@ -18,8 +18,8 @@ class CaptureLogsSearch extends CaptureLogs
public function rules()
{
return [
[['ID', 'Time', 'Status'], 'integer'],
[['Image', 'Remark'], 'safe'],
[['id', 'time', 'status'], 'integer'],
[['image', 'remark'], 'safe'],
];
}
@@ -59,13 +59,13 @@ class CaptureLogsSearch extends CaptureLogs
// grid filtering conditions
$query->andFilterWhere([
'ID' => $this->ID,
'Time' => $this->Time,
'Status' => $this->Status,
'id' => $this->id,
'time' => $this->time,
'status' => $this->status,
]);
$query->andFilterWhere(['like', 'Image', $this->Image])
->andFilterWhere(['like', 'Remark', $this->Remark]);
$query->andFilterWhere(['like', 'image', $this->image])
->andFilterWhere(['like', 'remark', $this->remark]);
return $dataProvider;
}