5cf43ba1f88101ec475d06c6983ca3937d28213f.svn-base 828 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.synyi.edc.service.impl;
  2. import java.util.List;
  3. import javax.annotation.Resource;
  4. import org.springframework.stereotype.Service;
  5. import com.synyi.edc.dao.ISqlbuilderDao;
  6. import com.synyi.edc.pojo.Parameter;
  7. import com.synyi.edc.service.ISqlbuilderService;
  8. /**
  9. * 连接数据库查询service
  10. * @author wy
  11. *
  12. */
  13. @Service("sqlbuilderService")
  14. public class SqlbuilderServiceImpl implements ISqlbuilderService {
  15. @Resource
  16. private ISqlbuilderDao dao;
  17. /**
  18. * 获取所有的医院列表
  19. */
  20. @Override
  21. public List<Parameter> getAllOrgInfo() {
  22. // TODO Auto-generated method stub
  23. return this.dao.getAllOrgInfo();
  24. }
  25. /**
  26. * 获取检验名称
  27. */
  28. @Override
  29. public List<Parameter> getAllLabInfo(Parameter labname) {
  30. // TODO Auto-generated method stub
  31. return this.dao.getAllLabInfo( labname);
  32. }
  33. }