add card.flag implementation
This commit is contained in:
@@ -166,4 +166,10 @@ class Card extends \common\models\BaseFitnessActiveRecord
|
||||
]);
|
||||
}
|
||||
|
||||
public static function updateCardFlagTicket($id){
|
||||
$db = \Yii::$app->db;
|
||||
$command = $db->createCommand(Ticket::$SQL_UPDATE_CARD,[':id' => $id]);
|
||||
$command->execute();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user