Expected positional parameter count: 1, actual parameters: [] [select count(*) from pay where date_format(month,'%Y-%m')=?
收起
你的参数没穿进去 检查参数那块
报告相同问题?