No, a CCJ will not affect a DBS check as it is not a criminal offence.