bdddc6fa39899a1c3028de29af9d59a6b655a1f7.svn-base 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. package cn.com.goldenwater.dcproj.controller.export;
  2. import cn.com.goldenwater.core.web.BaseController;
  3. import cn.com.goldenwater.dcproj.param.*;
  4. import cn.com.goldenwater.dcproj.service.*;
  5. import io.swagger.annotations.Api;
  6. import io.swagger.annotations.ApiOperation;
  7. import org.slf4j.Logger;
  8. import org.slf4j.LoggerFactory;
  9. import org.springframework.beans.factory.annotation.Autowired;
  10. import org.springframework.web.bind.annotation.RequestMapping;
  11. import org.springframework.web.bind.annotation.RequestMethod;
  12. import org.springframework.web.bind.annotation.RestController;
  13. import javax.servlet.http.HttpServletResponse;
  14. /**
  15. * author:LD
  16. * DATE:2019/10/30 13:46
  17. */
  18. @Api(value = "基础信息导出", tags = "基础信息导出")
  19. @RestController
  20. @RequestMapping(value = "/dc/export")
  21. public class ExportBasicInfoController extends BaseController {
  22. private Logger logger = LoggerFactory.getLogger(getClass());
  23. @Autowired
  24. private AttRsBaseService attRsBaseService;
  25. @Autowired
  26. private AttCwsBaseService attCwsBaseService;
  27. @Autowired
  28. private BisInspWtdstService bisInspWtdstService;
  29. @Autowired
  30. private WrSwsBService wrSwsBService;
  31. @Autowired
  32. private WrGwsBService wrGwsBService;
  33. @Autowired
  34. private AttAdXBaseService attAdXBaseService;
  35. @Autowired
  36. private AttGrwBaseService attGrwBaseService;
  37. @Autowired
  38. private AttWagaBaseService attWagaBaseService;
  39. @Autowired
  40. private AttWiuWatLicService attWiuWatLicService;
  41. @Autowired
  42. private AttWintBaseBService attWintBaseBService;
  43. @Autowired
  44. private AttSwhsBaseService attSwhsBaseService;
  45. @Autowired
  46. private AttWuntBaseService attWuntBaseService;
  47. @ApiOperation(value = "水库基础信息导出")
  48. @RequestMapping(value = "/attRsBase",method = RequestMethod.GET)
  49. public void exportAttRsBase(AttRsBaseParam attRsBaseParam, HttpServletResponse response){
  50. attRsBaseService.exportAttRsBase(attRsBaseParam,response);
  51. }
  52. @ApiOperation(value = "人饮基础信息导出")
  53. @RequestMapping(value = "/attCwsBase",method = RequestMethod.GET)
  54. public void exportAttCwsBase(AttCwsBaseParam attCwsBaseParam, HttpServletResponse response) {
  55. attCwsBaseService.exportAttCwsBase(attCwsBaseParam,response);
  56. }
  57. @ApiOperation(value = "水毁基础信息导出")
  58. @RequestMapping(value = "/bisInspWtdst",method = RequestMethod.GET)
  59. public void exportBisInspWtdst(BisInspWtdstParam bisInspWtdstParam, HttpServletResponse response) {
  60. bisInspWtdstService.exportBisInspWtdst(bisInspWtdstParam,response);
  61. }
  62. @ApiOperation(value = "地表水水源地基础信息导出")
  63. @RequestMapping(value = "/wrSwsB",method = RequestMethod.GET)
  64. public void exportWrSwsB(WrSwsBParam wrSwsBParam, HttpServletResponse response) {
  65. wrSwsBService.exportWrSwsB(wrSwsBParam,response);
  66. }
  67. @ApiOperation(value = "地下水水源地基础信息导出")
  68. @RequestMapping(value = "/wrGwsB",method = RequestMethod.GET)
  69. public void exportWrGwsB(WrGwsBParam wrGwsBParam, HttpServletResponse response) {
  70. wrGwsBService.exportWrGwsB(wrGwsBParam,response);
  71. }
  72. @ApiOperation(value = "行政区划导出")
  73. @RequestMapping(value = "/attAdXBase",method = RequestMethod.GET)
  74. public void exportAttAdXBase(AttAdXBaseParam attAdXBaseParam, HttpServletResponse response) {
  75. attAdXBaseService.exportAdXBase(attAdXBaseParam,response);
  76. }
  77. @ApiOperation(value = "地下水监测站基础信息导出")
  78. @RequestMapping(value = "/attGrwBase",method = RequestMethod.GET)
  79. public void exportAttGrwBase(AttGrwBaseParam attAdXBaseParam, HttpServletResponse response) {
  80. attGrwBaseService.exportAttGrwBase(attAdXBaseParam,response);
  81. }
  82. @ApiOperation(value = "水闸基础信息导出")
  83. @RequestMapping(value = "/attWagaBase",method = RequestMethod.GET)
  84. public void exportAttWagaBase(AttWagaBaseParam attWagaBaseParam, HttpServletResponse response) {
  85. attWagaBaseService.exportAttWagaBase(attWagaBaseParam,response);
  86. }
  87. @ApiOperation(value = "取水许可证信息导出")
  88. @RequestMapping(value = "/attWiuWatLic",method = RequestMethod.GET)
  89. public void exportAttWiuWatLic(AttWiuWatLicParam attWiuWatLicParam, HttpServletResponse response) {
  90. attWiuWatLicService.exportAttWiuWatLic(attWiuWatLicParam,response);
  91. }
  92. @ApiOperation(value = "取水口基本信息导出")
  93. @RequestMapping(value = "/attWintBaseB", method = RequestMethod.GET)
  94. public void exportAttWintBaseB(AttWintBaseBParam attWintBaseBParam, HttpServletResponse response) {
  95. attWintBaseBService.exportAttWintBaseB(attWintBaseBParam, response);
  96. }
  97. @ApiOperation(value = "水源地基本信息导出")
  98. @RequestMapping(value = "/attSwhsBase", method = RequestMethod.GET)
  99. public void exportAttSwhsBase(AttSwhsBaseParam attSwhsBaseParam, HttpServletResponse response) {
  100. attSwhsBaseService.exportAttSwhsBase(attSwhsBaseParam, response);
  101. }
  102. @ApiOperation(value = "用水单位基本信息导出")
  103. @RequestMapping(value = "/attWuntBase", method = RequestMethod.GET)
  104. public void exportAttWuntBase(AttWuntBaseParam attWuntBaseParam, HttpServletResponse response) {
  105. attWuntBaseService.exportAttWuntBase(attWuntBaseParam, response);
  106. }
  107. }