文档库--log分页

This commit is contained in:
zhn
2022-02-24 19:12:03 +08:00
parent b0b25d6cde
commit 59ffa3ef2f
2 changed files with 4 additions and 1 deletions
@@ -663,10 +663,13 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
}
}
});
LoginUser sysUser = (LoginUser)SecurityUtils.getSubject().getPrincipal();
if(StringUtils.isNotBlank(sb)){
String content = sb.substring(0, sb.length() - 1);
BussLogEO bussLogEO = new BussLogEO();
bussLogEO.setDocumentId((String)map.get("id"));
bussLogEO.setContent(content);
bussLogEO.setCreateBy(sysUser.getRealname());
iBussLogEOService.add(bussLogEO);
}
}
@@ -47,7 +47,7 @@ public class BussLogEOController extends JeroController<BussLogEO, IBussLogEOSer
*/
@AutoLog(value = "更新log表-分页列表查询")
@ApiOperation(value="更新log表-分页列表查询", notes="更新log表-分页列表查询")
@PostMapping(value = "/page")
@GetMapping(value = "/page")
public Result<?> queryPageList(BussLogEO bussLogEO,
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,