党员活动 模糊查询接口改body传值

This commit is contained in:
517612449@qq.com
2022-06-28 16:43:43 +08:00
parent e28d71f140
commit 07b1f56ea5

View File

@ -92,20 +92,20 @@ public class PartyMemberEventController {
@ApiOperation("党员列表模糊查询")
@PostMapping("/partyMember/paramQuery")
public BaseResponse<List<EventPartyBranch>> getPartyMemberListByParam(@RequestBody EventQueryInVO inVO){
public BaseResponse<List<EventPartyBranch>> getPartyMemberListByParam(@RequestBody(required = false) EventQueryInVO inVO){
return BaseResponse.success(eventPartyBranchService.getPartyMemberListByParam(inVO));
}
@ApiOperation("活动课题列表")
@PostMapping("/eventSubject/list")
public BaseResponse<List<EventSubject>> getEventSubjectList(@RequestBody EventQueryInVO inVO) {
public BaseResponse<List<EventSubject>> getEventSubjectList(@RequestBody(required = false) EventQueryInVO inVO) {
return BaseResponse.success(eventSubjectService.getEventSubjectList(inVO));
}
@ApiOperation("活动风采列表")
@PostMapping("/eventStyle/list")
public BaseResponse<List<EventStyle>> getEventStyleList(@RequestBody EventQueryInVO inVO) {
public BaseResponse<List<EventStyle>> getEventStyleList(@RequestBody(required = false) EventQueryInVO inVO) {
return BaseResponse.success(eventStyleService.getEventStyle("list", inVO));
}