public function actionCountList()
{
$accountId = $this->getAccountId();
$keyword = $request = Yii::$app->request->get("keyword", '');
if ($keyword == "undefined") {
$keyword = '';
}
$query = new Query();
$query->from('uhkklpCookingtype')->where(['isDeleted' => false])->andWhere(['accountId' => $accountId])->andWhere(['or', ['category' => '大類']])->andWhere(['like', 'name', $keyword]);
$count = $query->count();
Yii::$app->response->format = \yii\web\Response::FORMAT_JSON;
return ['code' => 200, 'msg' => 'OK', 'result' => $count];
}