Database 2

middle in dao design
Please remove redundant checkedNote or note variable. Possible alternative: provide better names for them, because it is not obvious why we need them.