| | |
| | | @Controller |
| | | @RequestMapping("/business/pages/question") |
| | | public class QuestionController { |
| | | |
| | | |
| | | @Autowired |
| | | private QuestionFacade questionFacade; |
| | | |
| | | |
| | | @Autowired |
| | | private IncidentFacade incidentFacade; |
| | | |
| | | |
| | | @Autowired |
| | | private DataDictionaryService dataDictionaryService; |
| | | |
| | | |
| | | @Autowired |
| | | private FileService fileService; |
| | | |
| | | |
| | | @Autowired |
| | | private OrderService orderService; |
| | | |
| | | |
| | | @Autowired |
| | | private DeviceService deviceService; |
| | | |
| | | |
| | | @Autowired |
| | | private OrderFacade orderFacade; |
| | | |
| | | |
| | | @Resource |
| | | private CustomerManageFacade customerFacade; |
| | | |
| | | |
| | | @Autowired |
| | | private MessageService messageService; |
| | | |
| | |
| | | @RequestMapping(value="questionList.html", method=RequestMethod.GET) |
| | | public ModelAndView questionList(HttpServletRequest request, HttpServletResponse response) { |
| | | ModelAndView view = new ModelAndView("/business/pages/question/questionList"); |
| | | |
| | | |
| | | //查询工单数量,通过类型判断查询那种类型的数量 |
| | | Map msgCount = questionFacade.queryQuestionCount(request); |
| | | |
| | | |
| | | System.out.println(JsonUtil.map2Json(msgCount)); |
| | | |
| | | |
| | | view.addObject("c", msgCount); |
| | | //查询问题类型数据字典 |
| | | List sources = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | view.addObject("sources", sources); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getLoginedUserId(request)); |
| | | params.put("type","1"); |
| | | Map map = questionFacade.getOrderNum(params); |
| | | view.addObject("data", map); |
| | | |
| | | |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单列表数据 |
| | | */ |
| | |
| | | modelAndView.addObject("orderList", list); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单总数量 |
| | | */ |
| | |
| | | int count = questionFacade.queryQuestionOrderCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 跳转到我的问题工单列表 |
| | | */ |
| | | @RequestMapping("myQuestion.html") |
| | | public ModelAndView myIncident(HttpServletRequest request) { |
| | | ModelAndView view = new ModelAndView("/business/pages/question/myQuestion"); |
| | | |
| | | |
| | | Map num = orderFacade.queryOrderCountByCate(request, Constants.WORKFLOW_BASE_BUSINESS_TYPE_QUESTION.toString()); |
| | | |
| | | |
| | | view.addObject("num", num); |
| | | |
| | | |
| | | //查询问题类型数据字典 |
| | | List sources = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | view.addObject("sources", sources); |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getLoginedUserId(request)); |
| | |
| | | view.addObject("data", map); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询我的问题列表 |
| | | */ |
| | |
| | | modelAndView.addObject("orders", question); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询我的问题数量 |
| | | */ |
| | |
| | | int count = questionFacade.queryMyQuestionCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 服务台创建问题页面 |
| | | * @param request |
| | |
| | | ModelAndView view = new ModelAndView("/business/pages/question/addquestion"); |
| | | //来源于事件升级 |
| | | Map questionMsg = questionFacade.getQuestionMsgByOrderId(request); |
| | | |
| | | |
| | | |
| | | |
| | | //查询问题来源数据字典 |
| | | List<Map> froms = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | //取得问题来源的第一条数据 |
| | |
| | | view.addObject("fromId", from.get("DATAKEY")); |
| | | view.addObject("fromName", from.get("DATAVALUE")); |
| | | } |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | |
| | | |
| | | view.addObject("froms", froms); |
| | | view.addObject("questionMsg", questionMsg); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getLoginedUserId(request)); |
| | |
| | | view.addObject("gnmark", GnConstants.ADDWT); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 服务台创建问题页面 |
| | | * @param request |
| | |
| | | ModelAndView view = new ModelAndView("/business/pages/question/addquestion"); |
| | | //来源于事件升级 |
| | | Map questionMsg = questionFacade.getQuestionMsgByOrderId(request); |
| | | |
| | | |
| | | |
| | | |
| | | //查询问题来源数据字典 |
| | | List<Map> froms = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | //取得问题来源的第一条数据 |
| | |
| | | view.addObject("fromId", from.get("DATAKEY")); |
| | | view.addObject("fromName", from.get("DATAVALUE")); |
| | | } |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | |
| | | |
| | | view.addObject("froms", froms); |
| | | view.addObject("questionMsg", questionMsg); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getLoginedUserId(request)); |
| | |
| | | view.addObject("gnmark", GnConstants.FWTADDWT); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 服务台创建问题页面 |
| | | * @param request |
| | |
| | | ModelAndView view = new ModelAndView("/business/pages/question/addchangequestion"); |
| | | //来源于事件升级 |
| | | Map questionMsg = questionFacade.getQuestionMsgByOrderId(request); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //查询问题来源数据字典 |
| | | List froms = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | |
| | | |
| | | view.addObject("froms", froms); |
| | | view.addObject("questionMsg", questionMsg); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 创建问题提交 |
| | | * @param request |
| | |
| | | "", |
| | | SysInfo.Error,""); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 通过优先级和影响度查询对应的级别 |
| | | */ |
| | |
| | | String influence_id = request.getParameter("influence_id"); |
| | | String customerId = request.getParameter("customer_id"); |
| | | Map levelMap = questionFacade.queryLevel(priority_id,influence_id,customerId); |
| | | |
| | | |
| | | WebUtil.write(response, JsonUtil.map2Json(levelMap)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 分配人员 |
| | | */ |
| | |
| | | modelAndView.addObject("curnodeId", curnodeId); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询所有的分配人员 |
| | | */ |
| | |
| | | modelAndView.addObject("groupList", groupList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询所有的分配人员 |
| | | */ |
| | |
| | | modelAndView.addObject("groupList", groupList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询角色 |
| | | */ |
| | |
| | | modelAndView.addObject("groupList", groupList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询客户自定义组 |
| | | */ |
| | |
| | | modelAndView.addObject("groupList", groupList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询客户自定义组 |
| | | */ |
| | |
| | | modelAndView.addObject("groupList", groupList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 添加客户自定义组下的人员 |
| | | */ |
| | |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/addzdyGroupUser"); |
| | | String groupId = request.getParameter("groupId"); |
| | | if(!StringUtil.isEmpty(groupId)){ |
| | | |
| | | |
| | | modelAndView.addObject("group", new CUSTOM_GROUP(groupId).getBeanMapById()); |
| | | }else{ |
| | | modelAndView.addObject("group", new HashMap()); |
| | | } |
| | | |
| | | |
| | | Map users = questionFacade.usersbyGroup(request); |
| | | |
| | | |
| | | modelAndView.addObject("users", users.get("resList")); |
| | | modelAndView.addObject("groupuser", users.get("groupuser")); |
| | | modelAndView.addObject("main", users); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 添加客户自定义组下的人员 |
| | | */ |
| | |
| | | String groupId = request.getParameter("groupId"); |
| | | String customerId = request.getParameter("customerId"); |
| | | questionFacade.addGroupUser(request); |
| | | |
| | | |
| | | return WebUtil.sysInfoPage(request, "操作成功!", |
| | | "window.top.hideDialog('zdyadd');window.top.document.getElementById('dialogIframedealer').contentWindow.loadGroup();", |
| | | SysInfo.Success,""); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 删除客户自定义分组 |
| | | */ |
| | |
| | | group.setId(id).deleteById(); |
| | | WebUtil.write(response, "1"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 跳转到工单处理页面 |
| | | * @param request |
| | |
| | | @RequestMapping("questionDeal.html") |
| | | public ModelAndView questionDeal(HttpServletRequest request) { |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/questionDeal"); |
| | | |
| | | |
| | | //查询问题基本信息 |
| | | String orderId = request.getParameter("orderId"); |
| | | String flowId = request.getParameter("flowId"); |
| | |
| | | |
| | | //查询问题来源数据字典 |
| | | List froms = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | |
| | | |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | WORKFLOW_BASE base = new WORKFLOW_BASE(flowId).getInstanceById(); |
| | | |
| | | |
| | | Map node = questionFacade.getFlowMsg(flowId, WebUtil.getLoginedUserId(request)); |
| | | //node为空,则为分派到组 |
| | | if(StringUtil.isEmpty(ConvertUtil.obj2StrBlank(node.get("ID")))){ |
| | | node = new WORKFLOW_NODE(base.getCurrent_node_id()).getBeanMapById(); |
| | | } |
| | | |
| | | |
| | | String isclose = ""; |
| | | List<Map> closejd = JsonUtil.json2List(ConvertUtil.obj2Str(questionMap.get("closejd"))); |
| | | for(Map map:closejd){ |
| | |
| | | modelAndView.addObject("repeat_mark", questionMap.get("REPEAT_MARK")); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | @RequestMapping("anwer.html") |
| | | public ModelAndView anwer(HttpServletRequest request, HttpServletResponse response) { |
| | | ModelAndView view = new ModelAndView("/business/pages/question/anwer"); |
| | |
| | | }else{ |
| | | view.addObject("nodeMsg", question); |
| | | } |
| | | |
| | | |
| | | view.addObject("flowId", flowId); |
| | | view.addObject("nodeId", nodeId); |
| | | view.addObject("orderId", orderId); |
| | | |
| | | |
| | | |
| | | |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @RequestMapping(value="answer.html", method=RequestMethod.POST) |
| | | public void anwerSubmit(HttpServletRequest request, HttpServletResponse response) { |
| | | String result = questionFacade.anwerSubmit(request); |
| | | WebUtil.write(response, result); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询问题基本信息 |
| | | */ |
| | |
| | | modelAndView.addObject("baseMsg", baseMsg); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题修改页面 |
| | | * @param request |
| | |
| | | List<Map> fileList = fileService.getFileList(flowId); |
| | | questionMap.put("fileList", fileList); |
| | | view.addObject("question", questionMap); |
| | | |
| | | |
| | | //查询问题来源数据字典 |
| | | List froms = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | |
| | | |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | view.addObject("eventPri", eventPri); |
| | | view.addObject("froms", froms); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 修改问题提交 |
| | | * @param request |
| | |
| | | @RequestMapping(value="editQuestion.html", method=RequestMethod.POST) |
| | | public ModelAndView editQuestionSubmit(HttpServletRequest request, HttpServletResponse response,SC_WORKFLOW_QUESTION sc_workflow_question) { |
| | | questionFacade.updateQuestion(request,sc_workflow_question); |
| | | |
| | | |
| | | return WebUtil.sysInfoPage(request, "操作成功!", |
| | | "window.top.location.reload(true);", |
| | | SysInfo.Success,"",null); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 诊断报告历史 |
| | | */ |
| | |
| | | Map baseMsg = new SC_WORKFLOW_QUESTION(orderId).getBeanMapById(); |
| | | modelAndView.addObject("curnodeId", curnodeId); |
| | | modelAndView.addObject("baseMsg", baseMsg); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 诊断报告历史数据 |
| | | */ |
| | |
| | | modelAndView.addObject("orderMsg", new SC_WORKFLOW_QUESTION(orderId).getBeanMapById()); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 诊断报告历史 |
| | | */ |
| | |
| | | modelAndView.addObject("orderMsg", new SC_WORKFLOW_QUESTION(orderId).getBeanMapById()); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 跳转到填写结局方案页面 |
| | | */ |
| | |
| | | Map zdMsg = questionFacade.getzdmsgbyId(request); |
| | | List<Map> fileList = new ArrayList<Map>(); |
| | | if(!StringUtil.isEmpty(type)){ |
| | | |
| | | |
| | | if("1".equals(type)){ |
| | | fileList=fileService.getFileList(ConvertUtil.obj2StrBlank(zdMsg.get("ZDID"))); |
| | | |
| | | |
| | | }else{ |
| | | fileList=fileService.getFileList(ConvertUtil.obj2StrBlank(zdMsg.get("ID"))); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | modelAndView.addObject("zdMsg", zdMsg); |
| | | modelAndView.addObject("type", type); |
| | | modelAndView.addObject("fileList", fileList); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 结果方案提交 |
| | | */ |
| | |
| | | return WebUtil.sysInfoPage(request, "操作成功!", |
| | | "window.top.document.getElementById('zdReportIframe').contentWindow.queryRecord();window.top.hideDialog('2');", |
| | | SysInfo.Success,"",null); |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 诊断报告历史数据 |
| | | */ |
| | |
| | | zd.deleteById(); |
| | | WebUtil.write(response, "1"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询是否可以进入下一个节点 |
| | | */ |
| | |
| | | String issave = questionFacade.issave(request); |
| | | WebUtil.write(response, issave); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 分配人员 |
| | | */ |
| | |
| | | modelAndView.addObject("tempMsg", tempMsg); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 分派人员 |
| | | */ |
| | |
| | | return WebUtil.sysInfoPage(request, "操作失败!", |
| | | "", |
| | | SysInfo.Error,""); |
| | | |
| | | |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 流转备注 |
| | | */ |
| | |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/lzbz"); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 流转备注 |
| | | */ |
| | |
| | | "window.top.hideDialog('2');", |
| | | SysInfo.Success,"/business/pages/question/myQuestion.html"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单审核中回退 |
| | | */ |
| | |
| | | modelAndView.addObject("nodeMap", nodeMap); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单审核中回退 |
| | | */ |
| | |
| | | "window.top.hideDialog('2');", |
| | | SysInfo.Success,"/business/pages/question/myQuestion.html",msg); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 跳转到填写申请工单结束方案页面 |
| | | */ |
| | | @RequestMapping(value="adminEndQuestion.html",method=RequestMethod.GET) |
| | | public ModelAndView adminEndQuestion(HttpServletRequest request,HttpServletResponse response) { |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/adminEndQuestion"); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 申请工单结束方案提交 |
| | | */ |
| | |
| | | "window.top.hideDialog('10');", |
| | | SysInfo.Success,"/business/pages/question/myQuestion.html",msg); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 跳转到填写结局方案页面 |
| | | */ |
| | |
| | | modelAndView.addObject("ways", ways); |
| | | modelAndView.addObject("endMsg", endMsg); |
| | | modelAndView.addObject("question", question); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 结果方案提交 |
| | | */ |
| | |
| | | public ModelAndView endQuestionsubmit(HttpServletRequest request,HttpServletResponse response) { |
| | | questionFacade.updateEndQuestion(request); |
| | | String orderId = request.getParameter("orderId"); |
| | | |
| | | |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/rechange"); |
| | | modelAndView.addObject("orderId", orderId); |
| | | modelAndView.addObject("bustype", Constants.WORKFLOW_BASE_BUSINESS_TYPE_QUESTION); |
| | | return modelAndView; |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询重复问题工单 |
| | | */ |
| | | @RequestMapping("linkwtOrder.html") |
| | | public ModelAndView linkwtOrder(HttpServletRequest request) { |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/linkwtOrder"); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询关联工单 |
| | | */ |
| | |
| | | modelAndView.addObject("orders", orders); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题回退信息提交 |
| | | * @param request |
| | |
| | | "", |
| | | SysInfo.Success,"/business/pages/question/myQuestion.html",msg); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单审核中关闭 |
| | | */ |
| | |
| | | modelAndView.addObject("question", question); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单审核中关闭 |
| | | */ |
| | | @RequestMapping(value="closequestion.html", method=RequestMethod.POST) |
| | | public ModelAndView closequestionsubmit(HttpServletRequest request,HttpServletResponse response) { |
| | | |
| | | |
| | | questionFacade.updateResolveType(request); |
| | | return WebUtil.sysInfoPage(request, "操作成功!", |
| | | "window.top.hideDialog('3');", |
| | | SysInfo.Success,"/business/pages/question/myQuestion.html",null); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 跳转到订单查看页面 |
| | | */ |
| | | @RequestMapping("questionDetail.html") |
| | | public ModelAndView incidentDetail(HttpServletRequest request,HttpServletResponse response) { |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/questionDetail"); |
| | | |
| | | |
| | | //查询问题基本信息 |
| | | String orderId = request.getParameter("orderId"); |
| | | String flowId = request.getParameter("flowId"); |
| | | |
| | | |
| | | //通过工单编号查询工单基本信息 |
| | | Map baseMsg = questionFacade.queryQuestionBaseMsg(orderId); |
| | | String isopen = questionFacade.getIsOpenQuestion(request); |
| | |
| | | modelAndView.addObject("orderId", orderId); |
| | | modelAndView.addObject("flowId", flowId); |
| | | modelAndView.addObject("isopen", isopen); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题处理服务报告 |
| | | * @param request |
| | |
| | | String CUSTOMER_ID =ConvertUtil.obj2Str(report.get("CUSTOMER_ID")); |
| | | if(StringUtil.notEmpty(CUSTOMER_ID)){ |
| | | SC_PARTNER_CUSTOMER_INFO customer_INFO=new SC_PARTNER_CUSTOMER_INFO(CUSTOMER_ID).getInstanceById(); |
| | | if (customer_INFO !=null) |
| | | report.put("customer_code", customer_INFO.getCustomer_code()); |
| | | } |
| | | String FIRST_CATEGORY_ID=ConvertUtil.obj2Str(report.get("FIRST_CATEGORY_ID")); |
| | |
| | | view.addObject("fileList", map.get("fileList")); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 退回信息 |
| | | */ |
| | |
| | | String nodeId = request.getParameter("nodeId"); |
| | | Map question = new SC_WORKFLOW_QUESTION(orderId).getBeanMapById(); |
| | | WORKFLOW_NODE node = new WORKFLOW_NODE(nodeId).getInstanceById(); |
| | | |
| | | |
| | | Map nodeMsgMap = new WORKFLOW_NODE(node.getSource_node_instance_id()).getBeanMapById(); |
| | | nodeMsgMap.put("NAME", question.get("NAME")); |
| | | modelAndView.addObject("nodeMsg", nodeMsgMap); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单挂起 |
| | | */ |
| | |
| | | modelAndView.addObject("ways", ways); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单挂起 |
| | | */ |
| | | @RequestMapping(value="questiongq.html", method=RequestMethod.POST) |
| | | public ModelAndView questiongqsubmit(HttpServletRequest request,HttpServletResponse response) { |
| | | |
| | | |
| | | questionFacade.updateQuestiongq(request); |
| | | return WebUtil.sysInfoPage(request, "操作成功!", |
| | | "window.top.hideDialog('3');", |
| | | SysInfo.Success,"/business/pages/question/myQuestion.html",null); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询挂起历史 |
| | | */ |
| | | @RequestMapping("gqhistoryList.html") |
| | | public ModelAndView gqhistoryList(HttpServletRequest request) { |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/gqhistoryList"); |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询挂起历史数据 |
| | | */ |
| | |
| | | modelAndView.addObject("gqList", gqList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单开启 |
| | | */ |
| | |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/questionopen"); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 工单开启 |
| | | */ |
| | |
| | | "window.top.hideDialog('5');", |
| | | SysInfo.Success,"/business/pages/question/myQuestion.html",null); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 跳转到我的工单池页面 |
| | | */ |
| | |
| | | String type = request.getParameter("type"); |
| | | //查询工单数量,通过类型判断查询那种类型的数量 |
| | | Map msgCount = questionFacade.querymyQuestionpoolCount(request); |
| | | |
| | | |
| | | System.out.println(JsonUtil.map2Json(msgCount)); |
| | | |
| | | |
| | | modelAndView.addObject("c", msgCount); |
| | | //查询工单类型 |
| | | Map<String, String> state = Constants.mapWORKFLOW_BASE_BUSINESS_TYPE; |
| | | List ways = new ArrayList(); |
| | | for (Map.Entry<String, String> entry : state.entrySet()) { |
| | | for (Map.Entry<String, String> entry : state.entrySet()) { |
| | | String key = entry.getKey(); |
| | | String value = entry.getValue(); |
| | | Map map = new HashMap(); |
| | |
| | | ways.add(map); |
| | | } |
| | | modelAndView.addObject("types", ways); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | modelAndView.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getLoginedUserId(request)); |
| | |
| | | modelAndView.addObject("data", map); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询我的工单池数据 |
| | | */ |
| | |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getLoginedUserId(request)); |
| | | PageInfo orderList = questionFacade.myquestionpoolData(pageInfo,params); |
| | | |
| | | |
| | | modelAndView.addObject("orders", orderList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询我的工单池数据 |
| | | */ |
| | |
| | | int count = questionFacade.myquestionpoolCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 事件服务台首页(我的) |
| | | * @param model |
| | |
| | | model.addAttribute("data", map); |
| | | return "/business/pages/question/myQuestionIndex"; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @RequestMapping(value="myQuestionIndexLoad.html") |
| | | public String myQuestionIndexLoad(Model model,HttpServletRequest request,HttpServletResponse response){ |
| | | Map<String, String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getUserId(request)); |
| | | |
| | | |
| | | //工单池问题数量 |
| | | int poolCount = questionFacade.myquestionpoolCount(params); |
| | | int poolCount = questionFacade.myquestionpoolCount(params); |
| | | //待处理问题数量 |
| | | params.put("type","1"); |
| | | int pendingCount = questionFacade.querymyQuestionOrderNodeCount(params); |
| | | int pendingCount = questionFacade.querymyQuestionOrderNodeCount(params); |
| | | //进行中问题数量 |
| | | params.put("type","2"); |
| | | int inHandCount = questionFacade.querymyQuestionOrderNodeCount(params); |
| | | int inHandCount = questionFacade.querymyQuestionOrderNodeCount(params); |
| | | //已处理 |
| | | params.put("type","3"); |
| | | int processedCount = questionFacade.querymyQuestionOrderNodeCount (params); |
| | | |
| | | int processedCount = questionFacade.querymyQuestionOrderNodeCount (params); |
| | | |
| | | model.addAttribute("poolCount",poolCount); |
| | | model.addAttribute("pendingCount",pendingCount); |
| | | model.addAttribute("inHandCount",inHandCount); |
| | | model.addAttribute("processedCount",processedCount); |
| | | return "/business/pages/question/myQuestionIndexLoad"; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询最近一月问题数量 |
| | | * @param request |
| | |
| | | Map<String, String> params = ParamsMapUtil.getParameterMap(request); |
| | | Map info = questionFacade.getLastMonthQuestionLv(params); |
| | | WebUtil.write(response, JsonUtil.map2Json(info)); |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 查询最近一月问题优先级分析 |
| | | * @param request |
| | |
| | | Map<String, String> params = ParamsMapUtil.getParameterMap(request); |
| | | Map info = questionFacade.getLastMonthQuestionPri(params); |
| | | WebUtil.write(response, JsonUtil.map2Json(info)); |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 查询最近一月问题影响度分析 |
| | | * @param request |
| | |
| | | Map info = questionFacade.getLastMonthQuestionEffect(params); |
| | | //System.out.println("json--------------------------"+JsonUtil.map2Json(info)); |
| | | WebUtil.write(response, JsonUtil.map2Json(info)); |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 查询最近一月服务目录问题数量 |
| | | * @param request |
| | |
| | | Map info = questionFacade.getLastMonthQuestionServer(params); |
| | | WebUtil.write(response, JsonUtil.map2Json(info)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 问题待响应列表页面 |
| | | * @param request |
| | |
| | | params.put("type", type); |
| | | //查询工单数量,通过类型判断查询那种类型的数量 |
| | | Map msgCount = questionFacade.querymyQuestionNodeCount(params); |
| | | |
| | | |
| | | System.out.println(JsonUtil.map2Json(msgCount)); |
| | | |
| | | |
| | | view.addObject("c", msgCount); |
| | | //查询问题类型数据字典 |
| | | List sources = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | view.addObject("sources", sources); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | params.put("type","2"); |
| | | Map map = questionFacade.getOrderNum(params); |
| | | view.addObject("data", map); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单列表数据 |
| | | */ |
| | |
| | | modelAndView.addObject("type", params.get("type")); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单总数量 |
| | | */ |
| | |
| | | int count = questionFacade.querymyQuestionOrderNodeCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题待响应列表页面 |
| | | * @param request |
| | |
| | | ModelAndView view = new ModelAndView("/business/pages/question/myquestionEndList"); |
| | | //查询问题类型数据字典 |
| | | List sources = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | view.addObject("sources", sources); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | view.addObject("type", type); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getLoginedUserId(request)); |
| | | params.put("type","2"); |
| | | Map map = questionFacade.getOrderNum(params); |
| | | view.addObject("data", map); |
| | | |
| | | |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单列表数据 |
| | | */ |
| | |
| | | modelAndView.addObject("type", params.get("type")); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单总数量 |
| | | */ |
| | |
| | | int count = questionFacade.querymyQuestionEndCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题催办 |
| | | * @return |
| | |
| | | public String questionRemind(HttpServletRequest request,HttpServletResponse response){ |
| | | return "/business/pages/question/questionRemind"; |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value="questionRemind.html",method=RequestMethod.POST) |
| | | public ModelAndView doQuestionRemind(HttpServletRequest request,HttpServletResponse response){ |
| | | String reminder = WebUtil.getLoginUser(request).getLoginUser().get("ZSXM").toString(); |
| | |
| | | "window.top.hideDialog('0');", |
| | | SysInfo.Success,""); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 所有工单池 |
| | | */ |
| | |
| | | ModelAndView modelAndView = new ModelAndView("/business/pages/question/questionpool"); |
| | | //查询工单数量,通过类型判断查询那种类型的数量 |
| | | Map msgCount = questionFacade.queryQuestionpoolCount(request); |
| | | |
| | | |
| | | System.out.println(JsonUtil.map2Json(msgCount)); |
| | | |
| | | |
| | | modelAndView.addObject("c", msgCount); |
| | | //查询工单类型 |
| | | Map<String, String> state = Constants.mapWORKFLOW_BASE_BUSINESS_TYPE; |
| | | List ways = new ArrayList(); |
| | | for (Map.Entry<String, String> entry : state.entrySet()) { |
| | | for (Map.Entry<String, String> entry : state.entrySet()) { |
| | | String key = entry.getKey(); |
| | | String value = entry.getValue(); |
| | | Map map = new HashMap(); |
| | |
| | | ways.add(map); |
| | | } |
| | | modelAndView.addObject("types", ways); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | modelAndView.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("type","1"); |
| | | Map map = questionFacade.getOrderNum(params); |
| | | modelAndView.addObject("data", map); |
| | | |
| | | |
| | | |
| | | |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询我的工单池数据 |
| | | */ |
| | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | PageInfo orderList = questionFacade.questionpoolData(pageInfo,params); |
| | | |
| | | |
| | | modelAndView.addObject("orders", orderList); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询我的工单池数据 |
| | | */ |
| | |
| | | int count = questionFacade.questionpoolCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题待响应列表页面 |
| | | * @param request |
| | |
| | | ModelAndView view = new ModelAndView("/business/pages/question/questionNodeList"); |
| | | //查询工单数量,通过类型判断查询那种类型的数量 |
| | | Map msgCount = questionFacade.queryQuestionNodeCount(request); |
| | | |
| | | |
| | | System.out.println(JsonUtil.map2Json(msgCount)); |
| | | |
| | | |
| | | view.addObject("c", msgCount); |
| | | //查询问题类型数据字典 |
| | | List sources = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | view.addObject("sources", sources); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | | //查询事件影响度数据字典 |
| | | List<Map> eventDg = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_EFFECT_DG); |
| | | view.addObject("eventDg", eventDg); |
| | | |
| | | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("type","1"); |
| | | Map map = questionFacade.getOrderNum(params); |
| | | view.addObject("data", map); |
| | | |
| | | |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单待响应列表数据 |
| | | */ |
| | |
| | | modelAndView.addObject("orderList", list); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单待响应总数量 |
| | | */ |
| | |
| | | int count = questionFacade.queryQuestionOrderNodeCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题进行中列表页面 |
| | | * @param request |
| | |
| | | ModelAndView view = new ModelAndView("/business/pages/question/questionJxzList"); |
| | | //查询工单数量,通过类型判断查询那种类型的数量 |
| | | Map msgCount = questionFacade.queryQuestionJxzNodeCount(request); |
| | | |
| | | |
| | | System.out.println(JsonUtil.map2Json(msgCount)); |
| | | |
| | | |
| | | view.addObject("c", msgCount); |
| | | //查询问题类型数据字典 |
| | | List sources = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | view.addObject("sources", sources); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("type","1"); |
| | |
| | | view.addObject("data", map); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单进行中列表数据 |
| | | */ |
| | |
| | | modelAndView.addObject("orderList", list); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单进行中总数量 |
| | | */ |
| | |
| | | int count = questionFacade.queryQuestionJxzCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 问题待响应列表页面 |
| | | * @param request |
| | |
| | | ModelAndView view = new ModelAndView("/business/pages/question/questionEndList"); |
| | | //查询问题类型数据字典 |
| | | List sources = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.QUESTION_SOURCE); |
| | | |
| | | |
| | | view.addObject("sources", sources); |
| | | |
| | | |
| | | //查询该加盟商的事件优先级 |
| | | List<Map> eventPri = dataDictionaryService.getDataDictionaryByCategoryKey(Constants.EVENT_PRI); |
| | | view.addObject("eventPri", eventPri); |
| | |
| | | //客户列表 |
| | | List<Map> cusList = incidentFacade.getCustomerList(); |
| | | view.addObject("customers", cusList); |
| | | |
| | | |
| | | //定义参数Map |
| | | Map<String,String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("type","1"); |
| | |
| | | view.addObject("data", map); |
| | | return view; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单列表数据 |
| | | */ |
| | |
| | | modelAndView.addObject("type", params.get("type")); |
| | | return modelAndView; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单总数量 |
| | | */ |
| | |
| | | int count = questionFacade.queryQuestionEndCount(params); |
| | | WebUtil.write(response, String.valueOf(count)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 问题首页 |
| | | * @param model |
| | |
| | | model.addAttribute("data", map); |
| | | return "/business/pages/question/questionIndex"; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @RequestMapping(value="questionIndexLoad.html") |
| | | public String questionIndexLoad(Model model,HttpServletRequest request,HttpServletResponse response){ |
| | | Map<String, String> params = ParamsMapUtil.getParameterMap(request); |
| | | params.put("userId", WebUtil.getUserId(request)); |
| | | |
| | | |
| | | //工单池问题数量 |
| | | int poolCount = questionFacade.questionpoolCount(params); |
| | | int poolCount = questionFacade.questionpoolCount(params); |
| | | //待处理问题数量 |
| | | int pendingCount = questionFacade.queryQuestionOrderNodeCount(params); |
| | | int pendingCount = questionFacade.queryQuestionOrderNodeCount(params); |
| | | //进行中问题数量 |
| | | int inHandCount = questionFacade.queryQuestionJxzCount(params); |
| | | int inHandCount = questionFacade.queryQuestionJxzCount(params); |
| | | //已挂起 |
| | | params.put("type", "6"); |
| | | int sleepCount = questionFacade.queryQuestionEndCount(params); |
| | | |
| | | int sleepCount = questionFacade.queryQuestionEndCount(params); |
| | | |
| | | model.addAttribute("poolCount",poolCount); |
| | | model.addAttribute("pendingCount",pendingCount); |
| | | model.addAttribute("inHandCount",inHandCount); |
| | |
| | | String user = questionFacade.queryQuestionDealer(request); |
| | | WebUtil.write(response, user); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查询问题工单处理人 |
| | | */ |
| | |
| | | String user = questionFacade.queryQuestionGroupDealer(request); |
| | | WebUtil.write(response, user); |
| | | } |
| | | |
| | | |
| | | } |