mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package com.panzhihua.service_dangjian.api;
 
 
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_dangjian.service.NewStriveForService;
import com.panzhihua.service_dangjian.service.StreetBigScreenService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
import javax.annotation.Resource;
 
@Slf4j
@RestController
@RequestMapping("/StreetBigScreen")
public class StreetBigScreenApi
{
 
    @Resource
    private StreetBigScreenService streetBigScreenService;
 
    @GetMapping("/getCommunityId")
    public R getCommunityId(@RequestParam("streetId") String streetId)
    {
        return streetBigScreenService.getCommunityId(streetId);
    }
 
 
    @GetMapping("/getCoreData")
    public R getCoreData(@RequestParam(value = "streetId", required = false) String streetId,
                         @RequestParam(value = "communityId", required = false)String communityId,
                         @RequestParam(value = "type", required = false)String type,
                         @RequestParam(value = "starTime", required = false)String starTime,
                         @RequestParam(value = "endTime", required = false)String endTime)
    {
        return streetBigScreenService.getCoreData(streetId,communityId,type,starTime,endTime);
    }
 
    @GetMapping("/getThreeNum")
    public R getThreeNum(@RequestParam(value = "streetId", required = false) String streetId,
                         @RequestParam(value = "communityId", required = false)String communityId,
                         @RequestParam(value = "type", required = false)String type,
                         @RequestParam(value = "starTime", required = false)String starTime,
                         @RequestParam(value = "endTime", required = false)String endTime)
    {
        return streetBigScreenService.getThreeNum(streetId,communityId,type,starTime,endTime);
    }
 
 
 
    @GetMapping("/getDoubleRegistration")
    public R getDoubleRegistration(@RequestParam(value = "streetId", required = false) String streetId,
                                   @RequestParam(value = "communityId", required = false)String communityId,
                                   @RequestParam(value = "type", required = false)String type,
                                   @RequestParam(value = "starTime", required = false)String starTime,
                                   @RequestParam(value = "endTime", required = false)String endTime)
    {
        return streetBigScreenService.getDoubleRegistration(streetId,communityId,type,starTime,endTime);
    }
 
    @GetMapping("/getPhotoMicroWish")
    public R getPhotoMicroWish(@RequestParam(value = "streetId", required = false) String streetId,
                               @RequestParam(value = "communityId", required = false)String communityId,
                               @RequestParam(value = "type", required = false)String type,
                               @RequestParam(value = "starTime", required = false)String starTime,
                               @RequestParam(value = "endTime", required = false)String endTime)
    {
        return streetBigScreenService.getPhotoMicroWish(streetId,communityId,type,starTime,endTime);
    }
 
 
    @GetMapping("/getAllData")
    public R getAllData(@RequestParam(value = "streetId", required = false) String streetId,
                        @RequestParam(value = "communityId", required = false)String communityId,
                        @RequestParam(value = "type", required = false)String type,
                        @RequestParam(value = "starTime", required = false)String starTime,
                        @RequestParam(value = "endTime", required = false)String endTime)
    {
        return streetBigScreenService.getAllData(streetId,communityId,type,starTime,endTime);
    }
 
}