delete from DOOR_FOAMREMACHINE where (sysdate-#{dates})>CREATED_TIME