获取15天以内的系统消息:
SELECT * FROM sys_MSG_Queue WHERE DATEDIFF(dd,SendTime,GETDATE())<15
var listData = from c in q1 where DateTime.Now < c.SendTime.Value.AddDays(15)