|
@@ -499,6 +499,17 @@ public class WorkProjectNotifyController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = {"list", ""})
|
|
|
public String list(WorkProjectNotify workProjectNotify, HttpServletRequest request, HttpServletResponse response, Model model) {
|
|
|
+ //进行查询之后进行任何操作,返回还是查询之后的数据页面
|
|
|
+ if (StringUtils.isNotBlank(workProjectNotify.getToflag())){
|
|
|
+ request.getSession().removeAttribute("searchWorkProjectNotifylist");
|
|
|
+ WorkProjectNotify search=workProjectNotify;
|
|
|
+ request.getSession().setAttribute("searchWorkProjectNotifylist",search);
|
|
|
+ }else{
|
|
|
+ if (request.getSession().getAttribute("searchWorkProjectNotifylist")!=null){
|
|
|
+ workProjectNotify= (WorkProjectNotify) request.getSession().getAttribute("searchWorkProjectNotifylist");
|
|
|
+ model.addAttribute("workProjectNotify", workProjectNotify);
|
|
|
+ }
|
|
|
+ }
|
|
|
User user = UserUtils.getUser();
|
|
|
workProjectNotify.setUser(user);
|
|
|
workProjectNotify.setCompanyId(UserUtils.getSelectCompany().getId());
|
|
@@ -528,6 +539,17 @@ public class WorkProjectNotifyController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = {"backlogListReadShow"})
|
|
|
public String backlogListReadShow(WorkProjectNotify workProjectNotify, HttpServletRequest request, HttpServletResponse response, Model model) {
|
|
|
+ //进行查询之后进行任何操作,返回还是查询之后的数据页面
|
|
|
+ if (StringUtils.isNotBlank(workProjectNotify.getToflag())){
|
|
|
+ request.getSession().removeAttribute("searchbacklogListReadShow");
|
|
|
+ WorkProjectNotify search=workProjectNotify;
|
|
|
+ request.getSession().setAttribute("searchbacklogListReadShow",search);
|
|
|
+ }else{
|
|
|
+ if (request.getSession().getAttribute("searchbacklogListReadShow")!=null){
|
|
|
+ workProjectNotify= (WorkProjectNotify) request.getSession().getAttribute("searchbacklogListReadShow");
|
|
|
+ model.addAttribute("workProjectNotify", workProjectNotify);
|
|
|
+ }
|
|
|
+ }
|
|
|
User user = UserUtils.getUser();
|
|
|
workProjectNotify.setUser(user);
|
|
|
workProjectNotify.setStatus("2");
|
|
@@ -544,6 +566,17 @@ public class WorkProjectNotifyController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = {"backlogListByMine"})
|
|
|
public String backlogListByMine(WorkProjectNotify workProjectNotify, HttpServletRequest request, HttpServletResponse response, Model model) {
|
|
|
+ //进行查询之后进行任何操作,返回还是查询之后的数据页面
|
|
|
+ if (StringUtils.isNotBlank(workProjectNotify.getToflag())){
|
|
|
+ request.getSession().removeAttribute("searchbacklogListByMine");
|
|
|
+ WorkProjectNotify search=workProjectNotify;
|
|
|
+ request.getSession().setAttribute("searchbacklogListByMine",search);
|
|
|
+ }else{
|
|
|
+ if (request.getSession().getAttribute("searchbacklogListByMine")!=null){
|
|
|
+ workProjectNotify= (WorkProjectNotify) request.getSession().getAttribute("searchbacklogListByMine");
|
|
|
+ model.addAttribute("workProjectNotify", workProjectNotify);
|
|
|
+ }
|
|
|
+ }
|
|
|
User user = UserUtils.getUser();
|
|
|
workProjectNotify.setUser(user);
|
|
|
workProjectNotify.setCompanyId(UserUtils.getSelectCompany().getId());
|
|
@@ -956,6 +989,17 @@ public class WorkProjectNotifyController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = {"listShow"})
|
|
|
public String listShow(WorkProjectNotify workProjectNotify, HttpServletRequest request, HttpServletResponse response, Model model) {
|
|
|
+ //进行查询之后进行任何操作,返回还是查询之后的数据页面
|
|
|
+ if (StringUtils.isNotBlank(workProjectNotify.getToflag())){
|
|
|
+ request.getSession().removeAttribute("searchWorkProjectNotify");
|
|
|
+ WorkProjectNotify search=workProjectNotify;
|
|
|
+ request.getSession().setAttribute("searchWorkProjectNotify",search);
|
|
|
+ }else{
|
|
|
+ if (request.getSession().getAttribute("searchWorkProjectNotify")!=null){
|
|
|
+ workProjectNotify= (WorkProjectNotify) request.getSession().getAttribute("searchWorkProjectNotify");
|
|
|
+ model.addAttribute("workProjectNotify", workProjectNotify);
|
|
|
+ }
|
|
|
+ }
|
|
|
User user = UserUtils.getUser();
|
|
|
workProjectNotify.setUser(user);
|
|
|
workProjectNotify.setStatus("0");
|
|
@@ -1010,6 +1054,17 @@ public class WorkProjectNotifyController extends BaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = {"listReadShow"})
|
|
|
public String listReadShow(WorkProjectNotify workProjectNotify, HttpServletRequest request, HttpServletResponse response, Model model) {
|
|
|
+ //进行查询之后进行任何操作,返回还是查询之后的数据页面
|
|
|
+ if (StringUtils.isNotBlank(workProjectNotify.getToflag())){
|
|
|
+ request.getSession().removeAttribute("searchlistReadShow");
|
|
|
+ WorkProjectNotify search=workProjectNotify;
|
|
|
+ request.getSession().setAttribute("searchlistReadShow",search);
|
|
|
+ }else{
|
|
|
+ if (request.getSession().getAttribute("searchlistReadShow")!=null){
|
|
|
+ workProjectNotify= (WorkProjectNotify) request.getSession().getAttribute("searchlistReadShow");
|
|
|
+ model.addAttribute("workProjectNotify", workProjectNotify);
|
|
|
+ }
|
|
|
+ }
|
|
|
User user = UserUtils.getUser();
|
|
|
workProjectNotify.setUser(user);
|
|
|
workProjectNotify.setStatus("2");
|