| | |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.validation.BindingResult; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | |
| | | @ApiOperation(value = "三说会堂事件表分页列表数据", notes = "三说会堂事件表分页列表数据") |
| | | @PostMapping("/page") |
| | | public R<List<ComEventVO>> page(@RequestBody ComEventPageRequestVO comEventPageRequestVO) { |
| | | ComEventVO comEventVO = CopyUtil.copyProperties(comEventPageRequestVO, ComEventVO.class); |
| | | ComEventVO comEventVO = new ComEventVO(); |
| | | BeanUtils.copyProperties(comEventPageRequestVO, comEventVO); |
| | | return comEventService.page(comEventVO, comEventVO.getPageNo(), comEventVO.getPageSize()); |
| | | } |
| | | |
| | |
| | | where del_flag=1 |
| | | AND app_id=#{appId} |
| | | <if test="keyWord != null and keyWord != ''"> |
| | | AND name like concat('%',#{keyWord},'%') or phone like concat('%',#{keyWord},'%') |
| | | AND name like concat('%',#{keyWord},'%') or phone like concat('%',#{keyWord},'%') or unit like concat('%',#{keyWord},'%') |
| | | </if> |
| | | <if test="level != null"> |
| | | <if test="level == 2"> |