with LaobaoFFQuery do
begin
// CommandText:='select * from LBPFFB where FFBJ=1 and ZTBZ=0';
CommandText:='delete from LBPFFB where FFBJ=0 and CSHBJ=0 and JHBJ=1';
Open;
//删除已经制定的计划
LaobaoFFQuery.Execute;
LaobaoFFQuery.Close;
end;//with LaobaoFFQuery do