修改专项任务和来函权限按钮展示以及列表展示权限用户下的数据

修改特定服务bug
This commit is contained in:
duandongmei
2018-07-16 14:21:21 +08:00
parent 60b3a1ae34
commit 1ebb1437ff
16 changed files with 146 additions and 123 deletions

View File

@@ -31,7 +31,7 @@ public class TaskInfoController extends BaseController{
*/
@RequestMapping(value = {"list",""})
public String list(TaskInfo taskInfo, HttpServletRequest request, HttpServletResponse response, Model model) {
Page<TaskInfo> page = taskInfoService.findTaskInfo(new Page<TaskInfo>(request, response), taskInfo);
Page<TaskInfo> page = taskInfoService.findTaskInfo(new Page<TaskInfo>(request, response,"r"), taskInfo);
model.addAttribute("page", page);
return "/basics/taskInfoList";
}
@@ -76,7 +76,7 @@ public class TaskInfoController extends BaseController{
} catch (Exception e) {
logger.error(e.getMessage());
e.printStackTrace();
addMessage(model, "save_failed");
addMessage(redirectAttributes, "save_failed");
}
return "redirect:" + adminPath + "/basics/taskInfo/list?repage";
}