Database error: Invalid SQL: SELECT t1.id,t1.companyid FROM asm_tender_submission_result t1
WHERE t1.deletedate=0
AND t1.status=1 AND (t1.tenderid<>-1 || t1.tenderextra!='')
AND tenderid=
MySQL Error: 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 '' at line 4)