文档库--log分页
This commit is contained in:
+3
@@ -663,10 +663,13 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
LoginUser sysUser = (LoginUser)SecurityUtils.getSubject().getPrincipal();
|
||||||
if(StringUtils.isNotBlank(sb)){
|
if(StringUtils.isNotBlank(sb)){
|
||||||
String content = sb.substring(0, sb.length() - 1);
|
String content = sb.substring(0, sb.length() - 1);
|
||||||
BussLogEO bussLogEO = new BussLogEO();
|
BussLogEO bussLogEO = new BussLogEO();
|
||||||
|
bussLogEO.setDocumentId((String)map.get("id"));
|
||||||
bussLogEO.setContent(content);
|
bussLogEO.setContent(content);
|
||||||
|
bussLogEO.setCreateBy(sysUser.getRealname());
|
||||||
iBussLogEOService.add(bussLogEO);
|
iBussLogEOService.add(bussLogEO);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ public class BussLogEOController extends JeroController<BussLogEO, IBussLogEOSer
|
|||||||
*/
|
*/
|
||||||
@AutoLog(value = "更新log表-分页列表查询")
|
@AutoLog(value = "更新log表-分页列表查询")
|
||||||
@ApiOperation(value="更新log表-分页列表查询", notes="更新log表-分页列表查询")
|
@ApiOperation(value="更新log表-分页列表查询", notes="更新log表-分页列表查询")
|
||||||
@PostMapping(value = "/page")
|
@GetMapping(value = "/page")
|
||||||
public Result<?> queryPageList(BussLogEO bussLogEO,
|
public Result<?> queryPageList(BussLogEO bussLogEO,
|
||||||
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
||||||
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
||||||
|
|||||||
Reference in New Issue
Block a user