{"myshop":"Y","ev":{"myshop":"Y","os_type":"W","account_id":"zaetech"},"account_id":"zaetech","session_id":"2ebb389d02e8c709dad18219a2cb9f39568dd337c543deff","encrypt":false,"join_from":"lastsave"}

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and ttrans.cancel_flag = 'N'' at line 4

select ifnull(sum(commission), 0) as "commission_sum" from ttranslog ttrans where ttrans.yyyymmdd = '20241228' and ttrans.affiliate_id IN () and ttrans.cancel_flag = 'N'

Filename: models/Tcommission.php

Line Number: 751