q1.Close;
          q1.SQL.Clear;
         q1.SQL.Add('SELECT * FROM  temp WHERE kaihui_date >= :star_date AND kaihui_date <= :end_date');
          q1.ParamByName('star_date').Value := FormatDateTime('yyyy"-"mm"-"dd',t1.DateTime);
          q1.ParamByName('end_date').Value  := FormatDateTime('yyyy"-"mm"-"dd',t2.DateTime);
          //end;