AgentInfoServiceImpl.java 900 B

12345678910111213141516171819202122232425262728293031
  1. package com.iamberry.wechat.service.agentInfo;
  2. import com.iamberry.wechat.core.entity.agentInfo.AgentConfig;
  3. import com.iamberry.wechat.core.entity.agentInfo.AgentTooth;
  4. import com.iamberry.wechat.face.agentInfo.AgentInfoService;
  5. import com.iamberry.wechat.service.mapper.AgentInfoMapper;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.stereotype.Service;
  8. import java.util.List;
  9. /**
  10. * Created by liuzhiwei on 2017/10/11.
  11. */
  12. @Service
  13. public class AgentInfoServiceImpl implements AgentInfoService {
  14. @Autowired
  15. private AgentInfoMapper agentInfoMapper;
  16. @Override
  17. public List<AgentConfig> listAgentConfig(AgentConfig config) {
  18. return agentInfoMapper.listAgentConfig(config);
  19. }
  20. @Override
  21. public List<AgentTooth> listAgentTooth(AgentTooth agentTooth) {
  22. return agentInfoMapper.listAgentTooth(agentTooth);
  23. }
  24. }