if HTCheck.Checked=true then  RSADOQuery.SQL.Add('and 合同签订 is null);