加载下一条算法修改,增加日期判断上线

算法sql:
select
DATEDIFF(day,isnull(ca.expire_date,ca.salesDate),getDate())%365,salesDat
e from hdb_caseInfo ca
where
(DATEDIFF(day,isnull(ca.expire_date,ca.salesDate),getDate())%365)>275
and
(DATEDIFF(day,isnull(ca.expire_date,ca.salesDate),getDate())%365)<361
order by 1 desc
appconfig中增加一个参数<add key="EndDayNum" value="330" />