add bean and dao