| | |
| | | return cutManageService.getTask(line, model); |
| | | } |
| | | |
| | | |
| | | @RequestMapping(method=RequestMethod.GET, value="/gettasks/{line}") |
| | | public String getTasks(Model model,@PathVariable("line") String line){ |
| | | |
| | |
| | | } |
| | | |
| | | @RequestMapping(method=RequestMethod.GET, value="/gottask/{id}/{line}") |
| | | public String gotTask(@PathVariable("id") String id,@PathVariable("line") String line,HttpServletRequest request,HttpServletResponse response,Model model){ |
| | | public String gotTask(@PathVariable("id") String id,@PathVariable("line") String line,HttpServletRequest request,HttpServletResponse response,Model model) { |
| | | |
| | | return cutManageService.getTaskInterface(request, response, Long.valueOf(id),Long.valueOf(line), model); |
| | | } |
| | |
| | | } |
| | | |
| | | //缁撴潫浠诲姟 |
| | | @RequestMapping(method=RequestMethod.GET,value="/delecttask/{id}") |
| | | public String delecttask(Model model,@PathVariable("id") Long id){ |
| | | return cutManageService.delecttask(id); |
| | | @RequestMapping(method=RequestMethod.GET,value="/delecttask/{id}/{line}") |
| | | public String delecttask(Model model,@PathVariable("id") Long id,@PathVariable("line") Long line){ |
| | | return cutManageService.delecttask(id,line); |
| | | } |
| | | |
| | | @RequestMapping(method=RequestMethod.POST, value="/updatedengluname") |
| | |
| | | } |
| | | |
| | | //涓柇浠诲姟 |
| | | @RequestMapping(method=RequestMethod.GET,value="/delecttask1/{id}") |
| | | public String delecttask1(Model model,@PathVariable("id") Long id){ |
| | | return cutManageService.delecttask1(id); |
| | | @RequestMapping(method=RequestMethod.GET,value="/delecttask1/{id}/{line}") |
| | | public String delecttask1(Model model,@PathVariable("id") Long id,@PathVariable("line") Long line){ |
| | | return cutManageService.delecttask1(id,line); |
| | | } |
| | | |
| | | |
| | |
| | | return "reporttask/reportTask"; |
| | | } |
| | | |
| | | @RequestMapping(method=RequestMethod.POST, value="/updatepieces") |
| | | @ResponseBody |
| | | public boolean updatepieces(HttpServletRequest request, Model model) { |
| | | cutManageService.updatepieces(Long.valueOf(request.getParameter("rankid")),request.getParameter("pieces")); |
| | | return true; |
| | | } |
| | | |
| | | @RequestMapping(method=RequestMethod.POST, value="/updatetask") |
| | | @ResponseBody |
| | | public boolean updatetask(HttpServletRequest request, Model model) { |