zhitong.yu
7 天以前 7fc9c42987a13c1d8d2159591a5803e70518827f
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
package com.hxzk.gps.controller.Gather;
 
import cn.dev33.satoken.annotation.SaCheckLogin;
 
import com.hxzk.gps.controller.Gather.dto.TableSearchResult.TableSearchResult;
import com.hxzk.gps.entity.Gather.TbPergather;
import com.hxzk.gps.entity.Person.TbPerson;
import com.hxzk.gps.result.ResultTable;
import com.hxzk.gps.service.Gather.TbPergatherService;
import com.hxzk.gps.util.Result.ReturnMessage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author YuZhiTong
 * @since 2025-05-22
 */
@RestController
@RequestMapping("/Gather")
@Api("人员聚集")
public class TbPergatherController {
    @Autowired
    private TbPergatherService pergatherService;
    @SaCheckLogin
    @ApiOperation(value = "平台聚集围栏列表接口", notes = "该接口提供了平台聚集围栏信息列表查询功能")
    @PostMapping("FindGatherInfo")
    public ResultTable FindGatherInfo(@RequestBody TableSearchResult TableSearchResult){
        return pergatherService.FindGatherInfo(TableSearchResult);
    }
 
 
    @SaCheckLogin
    @ApiOperation(value = "平台聚集围栏修改接口", notes = "该接口提供了聚集围栏修改功能")
    @PostMapping("update")
    public ReturnMessage update(@RequestBody TbPergather pergather){
        return pergatherService.update(pergather);
    }
}