Цитата: Little ➤ Самое простое, проверяли. спустились карты на кассу или нет?!
вроде как...
mysql> select * from trm_in_discount_card;
+-----------+----+---------+-----------------+----------------+------------+-----------+-----------+---------+---------+
| global_id | id | type_id | start_card_code | stop_card_code | name | date_from | date_till | version | deleted |
+-----------+----+---------+-----------------+----------------+------------+-----------+-----------+---------+---------+
| 0 | 5 | 4 | 617000001 | 617989999 | NULL | NULL | NULL | 1 | 0 |
| 0 | 6 | 5 | 617990000 | 617999999 | NULL | NULL | NULL | 1 | 0 |
| 0 | 7 | 6 | 617000000 | 617989999 | 5% П11С | NULL | NULL | 1 | 0 |
| 0 | 8 | 7 | 617990000 | 617999999 | 10% П11С | NULL | NULL | 1 | 0 |
| 0 | 10 | 8 | 619000000 | 619000001 | 50%П11С | NULL | NULL | 1 | 0 |
| 0 | 11 | 9 | 616000001 | 616000009 | 616 | NULL | NULL | 1 | 0 |
| 0 | 12 | 10 | ;617000001? | ;617989999? | NULL | NULL | NULL | 1 | 0 |
| 0 | 14 | 11 | ;617990000? | ;617999999? | | NULL | NULL | 1 | 0 |
| 0 | 15 | 12 | 617000001 | 617989999 | | NULL | NULL | 1 | 0 |
+-----------+----+---------+-----------------+----------------+------------+-----------+-----------+---------+---------+