datediff只有兩個參數 你丟了三個進去
https://www.w3school.com.cn/sql/func_datediff_mysql.asp
這個語法也許能滿足你的需求
select * from brand_scores_module_today where DATEDIFF(NOW(), end_time) = 1
where convert(varchar,end_date,112)=convert(varchar,getdate()-1,112)