定时调度失败,说是AND附近有语法错误,删除emp_ id = ${emp_ id}就正常了,但是其他的报表也是这样写的,可以正常推送
SELECT
SUM (finally_ money) AS amount
FROM dbo. vw_ customer_ day_ sales AS sales
WHERE
emp_ id = ${emp_ id}
AND saits.data_date='${date_ time}'
emp_ id = '${emp_ id}'
不是吧,你看一下你的sql有问题
单引号少加了
表简称错了