insert into import_remind values ('即将到港而未付货款的合同', '((m.paydate>getdate() or m.paydate=''1900-1-1'') and datediff(day,m.arrivaldate,getdate())>=-15 and datediff(day,m.arrivaldate,getdate())<=15 )' )