邱宇豪
2023-10-18 9f36ffe17c4415d12e14928998e0e18a41047199
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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<String,Object> map){
        return pipeReportService.getPipeReportList(map);
    }
 
    @PostMapping(value = "steelReport")
    public BasicResult steelReport(@RequestBody Map<String,Object> map){
        return pipeReportService.getSteelReportList(map);
    }
}