add baseDao feature,need to be tested