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
package com.panzhihua.applets.api;
 
 
import javax.annotation.Resource;
import javax.validation.Valid;
 
import com.panzhihua.common.model.dtos.community.acid.PageDangerMemberDTO;
import com.panzhihua.common.model.dtos.community.fms.PageFmsTeamDTO;
import com.panzhihua.common.model.vos.LoginUserInfoVO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.community.acid.ComActAcidDangerMemberVO;
import com.panzhihua.common.model.vos.community.fms.ComFmsTeamVO;
import io.swagger.annotations.ApiOperation;
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;
 
import com.panzhihua.common.controller.BaseController;
import com.panzhihua.common.service.community.CommunityService;
 
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
 
import static java.util.Objects.isNull;
import static java.util.Objects.nonNull;
 
/**
 * @title: ComActAcidDangerMemberApi
 * @projectName: 成都呐喊信息技术有限公司-智慧社区项目
 * @description:
 * @author: hans
 * @date: 2022/04/27 15:54
 */
@Slf4j
@Api(tags = {"风险人员"})
@RestController
@RequestMapping("comActAcidDangerMember")
public class ComActAcidDangerMemberApi extends BaseController {
    /**
     * 服务对象
     */
    @Resource
    private CommunityService communityService;
 
    @ApiOperation(value = "分页查询风险人员", response = ComActAcidDangerMemberVO.class)
    @PostMapping("/page")
    public R pageDangerMember(@RequestBody @Valid PageDangerMemberDTO pageDangerMemberDTO) {
        return communityService.pageDangerMember(pageDangerMemberDTO);
    }
}