add clear key status flag_out
This commit is contained in:
parent
4826c566fe
commit
c5860f0260
@ -58,7 +58,7 @@ class Card extends \common\models\BaseFitnessActiveRecord
|
|||||||
";
|
";
|
||||||
|
|
||||||
public static $SQL_CLEAR_KEY_STATUS = "
|
public static $SQL_CLEAR_KEY_STATUS = "
|
||||||
UPDATE card set flag = ( flag & ~(1 << 2 ) ) WHERE card.type <> 50
|
UPDATE card set flag = ( flag & ~(1 << 2 ) ) , flag_out = ( flag_out & ~(1 << 2 ) ) WHERE card.type <> 50
|
||||||
";
|
";
|
||||||
|
|
||||||
public static $SQL_CLEARS_STATUS_DOOR_IN = "
|
public static $SQL_CLEARS_STATUS_DOOR_IN = "
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user