package com.thhy.secure.modules.biz.pipereport.controller; import com.thhy.general.common.BasicResult; import com.thhy.secure.modules.biz.pipereport.service.PipeReportService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import java.util.Map; /** * @Author QiuYuHao * @CreateDate 2023-10-17 17:13:01 * 管片报表控制层 */ @RestController @RequestMapping(value = "szpipereport") public class PipeReportController { @Autowired private PipeReportService pipeReportService; @PostMapping(value = "pipeReport") public BasicResult pipeReport(@RequestBody Map map){ return pipeReportService.getPipeReportList(map); } @PostMapping(value = "steelReport") public BasicResult steelReport(@RequestBody Map map){ return pipeReportService.getSteelReportList(map); } }