@@ -0,0 +1,715 @@
+package dao.impl;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0Aimport org.springframework.stereotype.Repository;%0A%0Aimport dao.BaseDaoImpl;%0Aimport dao.ConsumerDao;%0Aimport vo.vip.ConsumerVo;%0A%0A@Repository%0Apublic class ConsumerDaoImpl extends BaseDaoImpl implements ConsumerDao%7B%0A%09private Logger logger = LoggerFactory.getLogger(ConsumerDaoImpl.class);%0A%09%0A%09@Override%0A%09public List%3CConsumerVo%3E query(Map%3CString, Object%3E condition) %7B%0A%09%09List%3CConsumerVo%3E result = new ArrayList%3C%3E();%0A%09%09try %7B%0A%09%09%09result = sqlSession.selectList(%22consumer.query%22, condition);%0A%09%09%7Dcatch (Exception e) %7B%0A%09%09%09logger.error(e.getMessage());%0A%09%09%7D%0A%09%09return result;%0A%09%7D%0A%0A%7D%0A

add implmentation for consumer dao