bug fixes and new additions

This commit is contained in:
Kwesi Banson Jnr
2025-08-13 00:10:17 +00:00
parent cf39ff2682
commit eabf61b7da
133 changed files with 4231 additions and 590 deletions

View File

@@ -1,13 +1,21 @@
select * from gcr_register where districtid = 1 and `gcr_issued_to_id` = 79;
select * from sender_ids where senderid like '%am%';
select * from mno_world_wide where country like '%afghan%';
select count(*) as aggregate from `clients` inner join `auth_users` on `auth_users`.`id` = `vpn_configs`.`user_id` inner join `network_operators` on `network_operators`.`id` = `vpn_configs`.`mno_id` where vpn_configs.vpn_device like '%xi%' OR network_operators.country like '%xi%' OR vpn_configs.remote_peer_ip like '%xi%' OR vpn_configs.local_access_control_list like '%xi%' OR vpn_configs.partner_access_control_list '%xi%');
select * from business_due where subupn = '654-0739-0132-2';
-- "message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'vpn_configs.vpn_device vpn_device' in 'WHERE' (SQL:
select count(*) as aggregate from `clients` inner join `auth_users` on `auth_users`.`id` = `vpn_configs`.`user_id` inner join `network_operators` on `network_operators`.`id` = `vpn_configs`.`mno_id` where vpn_configs.vpn_device LIKE '%xi%' OR network_operators.country LIKE '%xi%' OR vpn_configs.remote_peer_ip LIKE '%xi%' OR vpn_configs.local_access_control_list like '%xi%' OR vpn_configs.partner_access_control_list LIKE '%xi%';
select * from business_balance where subupn = '654-0739-0132-2';
-- kwesi permissions 1834750
-- kwesi with no cash payment : "786174"
SELECT * FROM ussd_menus_dealers WHERE stage = '5' AND level = 'new_merchant_language' AND menu_language =
'english' AND remarks = 'standard' LIMIT 1;
select * from usr_users where permissions & 1048576 and districtid = 1;
SELECT * FROM ussd_menus_dealers WHERE stage = '5' AND level = 'new_merchant_confirm' AND menu_language =
'english' AND remarks = 'standard' LIMIT 1;