Search before asking
What happened
When we send mail with attachments and have a limit number which less then QUERY_LIMIT, resultJSONArray will add sql result limit log into itself, and it will cause the Exception when Json to List at ExcelUtils.genExcelFile.

What you expected to happen
i think we can just logger.info("") without adding into resultJSONArray.
How to reproduce
SqlTask: DML sql ,send mail group with attachments.
Anything else
No response
Version
2.0.5
Are you willing to submit PR?
Code of Conduct