package cn.com.goldenwater.dcproj.controller.export; import cn.com.goldenwater.core.web.BaseController; import cn.com.goldenwater.dcproj.param.*; import cn.com.goldenwater.dcproj.service.*; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import javax.servlet.http.HttpServletResponse; /** * author:LD * DATE:2019/10/30 13:46 */ @Api(value = "基础信息导出", tags = "基础信息导出") @RestController @RequestMapping(value = "/dc/export") public class ExportBasicInfoController extends BaseController { private Logger logger = LoggerFactory.getLogger(getClass()); @Autowired private AttRsBaseService attRsBaseService; @Autowired private AttCwsBaseService attCwsBaseService; @Autowired private BisInspWtdstService bisInspWtdstService; @Autowired private WrSwsBService wrSwsBService; @Autowired private WrGwsBService wrGwsBService; @Autowired private AttAdXBaseService attAdXBaseService; @Autowired private AttGrwBaseService attGrwBaseService; @Autowired private AttWagaBaseService attWagaBaseService; @Autowired private AttWiuWatLicService attWiuWatLicService; @Autowired private AttWintBaseBService attWintBaseBService; @Autowired private AttSwhsBaseService attSwhsBaseService; @Autowired private AttWuntBaseService attWuntBaseService; @ApiOperation(value = "水库基础信息导出") @RequestMapping(value = "/attRsBase",method = RequestMethod.GET) public void exportAttRsBase(AttRsBaseParam attRsBaseParam, HttpServletResponse response){ attRsBaseService.exportAttRsBase(attRsBaseParam,response); } @ApiOperation(value = "人饮基础信息导出") @RequestMapping(value = "/attCwsBase",method = RequestMethod.GET) public void exportAttCwsBase(AttCwsBaseParam attCwsBaseParam, HttpServletResponse response) { attCwsBaseService.exportAttCwsBase(attCwsBaseParam,response); } @ApiOperation(value = "水毁基础信息导出") @RequestMapping(value = "/bisInspWtdst",method = RequestMethod.GET) public void exportBisInspWtdst(BisInspWtdstParam bisInspWtdstParam, HttpServletResponse response) { bisInspWtdstService.exportBisInspWtdst(bisInspWtdstParam,response); } @ApiOperation(value = "地表水水源地基础信息导出") @RequestMapping(value = "/wrSwsB",method = RequestMethod.GET) public void exportWrSwsB(WrSwsBParam wrSwsBParam, HttpServletResponse response) { wrSwsBService.exportWrSwsB(wrSwsBParam,response); } @ApiOperation(value = "地下水水源地基础信息导出") @RequestMapping(value = "/wrGwsB",method = RequestMethod.GET) public void exportWrGwsB(WrGwsBParam wrGwsBParam, HttpServletResponse response) { wrGwsBService.exportWrGwsB(wrGwsBParam,response); } @ApiOperation(value = "行政区划导出") @RequestMapping(value = "/attAdXBase",method = RequestMethod.GET) public void exportAttAdXBase(AttAdXBaseParam attAdXBaseParam, HttpServletResponse response) { attAdXBaseService.exportAdXBase(attAdXBaseParam,response); } @ApiOperation(value = "地下水监测站基础信息导出") @RequestMapping(value = "/attGrwBase",method = RequestMethod.GET) public void exportAttGrwBase(AttGrwBaseParam attAdXBaseParam, HttpServletResponse response) { attGrwBaseService.exportAttGrwBase(attAdXBaseParam,response); } @ApiOperation(value = "水闸基础信息导出") @RequestMapping(value = "/attWagaBase",method = RequestMethod.GET) public void exportAttWagaBase(AttWagaBaseParam attWagaBaseParam, HttpServletResponse response) { attWagaBaseService.exportAttWagaBase(attWagaBaseParam,response); } @ApiOperation(value = "取水许可证信息导出") @RequestMapping(value = "/attWiuWatLic",method = RequestMethod.GET) public void exportAttWiuWatLic(AttWiuWatLicParam attWiuWatLicParam, HttpServletResponse response) { attWiuWatLicService.exportAttWiuWatLic(attWiuWatLicParam,response); } @ApiOperation(value = "取水口基本信息导出") @RequestMapping(value = "/attWintBaseB", method = RequestMethod.GET) public void exportAttWintBaseB(AttWintBaseBParam attWintBaseBParam, HttpServletResponse response) { attWintBaseBService.exportAttWintBaseB(attWintBaseBParam, response); } @ApiOperation(value = "水源地基本信息导出") @RequestMapping(value = "/attSwhsBase", method = RequestMethod.GET) public void exportAttSwhsBase(AttSwhsBaseParam attSwhsBaseParam, HttpServletResponse response) { attSwhsBaseService.exportAttSwhsBase(attSwhsBaseParam, response); } @ApiOperation(value = "用水单位基本信息导出") @RequestMapping(value = "/attWuntBase", method = RequestMethod.GET) public void exportAttWuntBase(AttWuntBaseParam attWuntBaseParam, HttpServletResponse response) { attWuntBaseService.exportAttWuntBase(attWuntBaseParam, response); } }