| | |
| | | logger.error("查询设备更换列表错误", e); |
| | | logInfoService.save("查询资产信息错误", e.toString(), StaticKeys.LOG_XTCZ); |
| | | } |
| | | return "inspectionTask/list"; |
| | | return "instask/tasklist"; |
| | | } |
| | | |
| | | @RequestMapping(value = "save") |
| | |
| | | try { |
| | | if (StringUtils.isEmpty(id)) { |
| | | model.addAttribute("inspectionTask", inspectionTask); |
| | | return "inspectionTask/add"; |
| | | return "instask/add"; |
| | | } |
| | | inspectionTask = inspectionTaskService.selectById(id); |
| | | model.addAttribute("inspectionTask", inspectionTask); |
| | |
| | | logger.error(errorMsg, e); |
| | | logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ); |
| | | } |
| | | return "inspectionTask/add"; |
| | | return "instask/add"; |
| | | } |
| | | |
| | | /** |
| | |
| | | try { |
| | | if (StringUtils.isEmpty(id)) { |
| | | model.addAttribute("taskInfo", taskInfo); |
| | | return "inspectionTask/infoedit"; |
| | | return "instask/infoedit"; |
| | | } |
| | | taskInfo = taskInfoService.selectById(id); |
| | | model.addAttribute("taskInfo", taskInfo); |
| | |
| | | logger.error(errorMsg, e); |
| | | logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ); |
| | | } |
| | | return "inspectionTask/infoedit"; |
| | | return "instask/infoedit"; |
| | | } |
| | | |
| | | /** |
| | |
| | | logger.error(errorMsg, e); |
| | | logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ); |
| | | } |
| | | return "inspectionTask/view"; |
| | | return "instask/view"; |
| | | } |
| | | |
| | | |
| | |
| | | logger.error("查询任务详情错误", e); |
| | | logInfoService.save("查询任务详情错误", e.toString(), StaticKeys.LOG_XTCZ); |
| | | } |
| | | return "inspectionTask/taskinfo"; |
| | | return "instask/taskinfo"; |
| | | } |
| | | |
| | | /** |