导出.cpt
string和int类型导致的'7'对应的转换成int类型
${IF(LEN(estimate_month) = 0, "", " AND estimate_month = '" + estimate_month + "' ")}改成
${IF(LEN(estimate_month) = 0, "", " AND estimate_month = " + estimate_month + " ")}
看你报错,是不是你后面有空格引起?
试试把你的sql拼接中,后面多余空格清楚干净
改成这个格式