判断数据是否提交!!!!
select  count(*) from worklog where userid=@userid and DATEDIFF('d', addDate, Now())=0
error:Error Code : 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?userid and DATEDIFF('d', addDate, Now())=0' at line 1
(16 ms taken)
userid and DATEDIFF('d', addDate, Now())=0' at line 1    这里哪里错了呢???