|
@@ -320,5 +320,26 @@ public class DilNoticeController extends BaseRESTfulController {
|
|
|
return success(noticeData);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "模糊查询通知信息", notes = "分页查询")
|
|
|
+ @ApiImplicitParams({
|
|
|
+ @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer"),
|
|
|
+ @ApiImplicitParam(name = "apiId", value = "196", required = false, dataType = "BigDecimal"),
|
|
|
+ })
|
|
|
+ @PostMapping(value = "/getNoticeUser")
|
|
|
+ public RESTfulResult getNoticeUser(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
+ @RequestParam("pageNum") Integer pageNum,
|
|
|
+ @RequestParam("pageSize") Integer pageSize,
|
|
|
+ @RequestParam("apiId") Integer apiId) {
|
|
|
+ if (mapValue==null){
|
|
|
+ mapValue=new HashMap<>();
|
|
|
+ }
|
|
|
+ PageHelper.startPage(pageNum, pageSize);
|
|
|
+ //分页查询数据
|
|
|
+ List<Map<String, Object>> columnList = dilNoticeService.getNoticeUser(mapValue);
|
|
|
+ PageListAdd data = columnDataUtil.tableColumnData(apiId, null, columnList);
|
|
|
+ return success(data);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
}
|