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);
|
}
|
}
|