sqlQuery+=string.Format(" where isnull(HBLNO,'')='' and {0}>='{1}' and {2}<'{3}' ",queryfield,startdate,queryfield,enddate);
sqlQuery+=" and not exists (select 1 from op_seae_edi_status where mfno=op_seae_edi.mfno and statustext= '接受申报' ) and dbo.getblno(mfno) not in(select mblno from wlxx_mblno) and isnull(ISdelete,0)=0 order by "+queryfield;
sqlQuery+=" and not exists (select 1 from op_seae_edi_status where mfno=op_seae_edi.mfno and statustext= '接受申报' ) and dbo.getblno(mfno) not in(select mblno from wlxx_mblno) and isnull(ISdelete,0)=0"+