@RequestMapping("/history-list")
public String doList(@WidgetPref(required = false, defaultValue = "10") Integer limit,
@WidgetAttribute(required = false) ProjectUser projectUser, @WidgetAttribute Project project, Model model) {
//
if (projectUser != null) {
ProjectHistory template = createTemplate(projectUser, project);
model.addAttribute("template", template);
}
//
Page<ProjectHistory> page = new Page<ProjectHistory>(limit);
page = historyService.fetchPage(page, project.getId());