add a DaoTemplate.   refactor shop service