智慧保安后台管理项目备份
Administrator
2021-12-06 f9ff113e9d2e9a3e643b185f08652004e5e43d94
src/main/java/org/springblade/modules/resource/controller/AttachController.java
@@ -67,7 +67,9 @@
   @GetMapping("/list")
   @ApiOperationSupport(order = 2)
   @ApiOperation(value = "分页", notes = "传入attach")
   public R<IPage<Attach>> list(Attach attach, Query query) {
   public R<IPage<Attach>> list(Attach attach, Query query, String deptid, String type) {
      attach.setDeptid(deptid);
      attach.setType(type);
      IPage<Attach> pages = attachService.page(Condition.getPage(query), Condition.getQueryWrapper(attach));
      return R.data(pages);
   }