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