| | |
| | | caseTaskPO.setReadUserName(loginUser.getTrueName()); |
| | | mapper.updateCaseTask(caseTaskPO); |
| | | } |
| | | CtUnitDTO ctUnitDTO = custClient.getUnitByUserId(userId); |
| | | // 待分派节点 |
| | | if (FlowNodeEnum.FLOW_NODE_ZJ_DFP.getIndex().equals(caseTask.getNodeId()) |
| | | || FlowNodeEnum.FLOW_NODE_QJ_DFP.getIndex().equals(caseTask.getNodeId()) |
| | |
| | | buttonList.add(sl); |
| | | buttonList.add(jb); |
| | | buttonList.add(xqcl); |
| | | CtUnitDTO ctUnitDTO = custClient.getUnitByUserId(userId); |
| | | |
| | | if (UserBaseConsts.UNIT_GRADE_1 != ctUnitDTO.getUnitGrade()) { |
| | | buttonList.add(sb); |
| | | } |
| | |
| | | buttonList.add(bysl); |
| | | } |
| | | } |
| | | // if(ctUnitDTO.getUnitType()!=null &ctUnitDTO.getUnitType()==101){ |
| | | // buttonList.add(db); |
| | | // } |
| | | } |
| | | // 待受理节点 |
| | | if (FlowNodeEnum.FLOW_NODE_ZJ_DSL.getIndex().equals(caseTask.getNodeId()) |
| | |
| | | buttonList.add(sl); |
| | | buttonList.add(ht); |
| | | buttonList.add(xqcl); |
| | | // if(ctUnitDTO.getUnitType()!=null &ctUnitDTO.getUnitType()==101){ |
| | | // buttonList.add(db); |
| | | // } |
| | | } |
| | | // 回退审核节点 |
| | | if (FlowNodeEnum.FLOW_NODE_ZJ_HTSH.getIndex().equals(caseTask.getNodeId()) |
| | |
| | | buttonList.add(lhczsq); |
| | | buttonList.add(jasq); |
| | | buttonList.add(tabcl); |
| | | CtUnitDTO ctUnitDTO = custClient.getUnitByUserId(userId); |
| | | if (ObjectUtils.isNotEmpty(ctUnitDTO)) { |
| | | if (GzRegionBaseEnum.AREA_7.getIndex().equals(ctUnitDTO.getArea())) { |
| | | buttonList.add(yytj); |
| | |
| | | buttonList.add(tjbljl); |
| | | buttonList.add(tabcl); |
| | | } |
| | | // if(ctUnitDTO.getUnitType()!=null &ctUnitDTO.getUnitType()==101){ |
| | | // buttonList.add(db); |
| | | // } |
| | | } |
| | | // 结案审核节点 |
| | | if (FlowNodeEnum.FLOW_NODE_JASH.getIndex().equals(caseTask.getNodeId()) |
| | |
| | | tabList.add(jash); |
| | | |
| | | buttonList.add(tabcl); |
| | | // if(ctUnitDTO.getUnitType()!=null &ctUnitDTO.getUnitType()==101){ |
| | | // buttonList.add(db); |
| | | // } |
| | | } |
| | | // 当事人评价节点 |
| | | if (FlowNodeEnum.FLOW_NODE_DSRPJ.getIndex().equals(caseTask.getNodeId())) { |
| | |
| | | buttonList.add(sl); |
| | | buttonList.add(ht); |
| | | buttonList.add(tabcl); |
| | | // if(ctUnitDTO.getUnitType()!=null &ctUnitDTO.getUnitType()==101){ |
| | | // buttonList.add(db); |
| | | // } |
| | | } |
| | | } |
| | | //司法确认 |
| | |
| | | || caseTask.getNodeId().equals(FlowNodeEnum.FLOW_NODE_ZJ_DFP.getIndex()) |
| | | || caseTask.getNodeId().equals(FlowNodeEnum.FLOW_NODE_QJ_DFP.getIndex()) |
| | | || caseTask.getNodeId().equals(FlowNodeEnum.FLOW_NODE_SJ_DFP.getIndex())) { |
| | | webCaseFlowDTO.setStatusName("待受理"); |
| | | webCaseFlowDTO.setStatusName("待分派"); |
| | | } |
| | | // 受理节点 |
| | | if (caseTask.getNodeId().equals(FlowNodeEnum.FLOW_NODE_DSL.getIndex()) |
| | |
| | | log.error("[CaseTaskService.getCountList]调用失败,异常信息:" + e, e); |
| | | throw new ServiceException("CaseTaskService.getCountList", e); |
| | | } |
| | | } |
| | | /** |
| | | * 首页-查询全部待办任务 |
| | | * |
| | | * @param page 分页对象 |
| | | * @param terms 条件 |
| | | * @return Page |
| | | */ |
| | | public Page<FrontPageListAllDTO> pageMyTaskAll(PageRequest page, Map<String, Object> terms) { |
| | | try { |
| | | long total = mapper.countMyTaskAll(terms); |
| | | List<FrontPageListAllDTO> frontPageListFPDTOList = mapper.pageMyTaskAll(page, terms); |
| | | return new PageImpl<FrontPageListAllDTO>(frontPageListFPDTOList, page, total); |
| | | } catch (Exception e) { |
| | | log.error("[CaseTaskService.pageMyTaskAll]调用失败,异常信息:" + e, e); |
| | | throw new ServiceException("pageMyTaskAll.pageMyTaskFp", e); |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 已办事项-数量 |
| | | * @param terms 条件 |
| | | */ |
| | | public CaseYbCountDTO countYbTaskAll(Map<String, Object> terms) { |
| | | CaseYbCountDTO caseYbCountDTO = new CaseYbCountDTO(); |
| | | long ybDispatch = mapper.countYbDispatch(terms); |
| | | long ybAccept = mapper.countYbAccept(terms); |
| | | long ybClosed = mapper.countYbClosed(terms); |
| | | long ybAudit = mapper.countYbAudit(terms); |
| | | long ybSupervise = mapper.countYbSupervise(terms); |
| | | caseYbCountDTO.setYbDispatch(ybDispatch); |
| | | caseYbCountDTO.setYbAccept(ybAccept); |
| | | caseYbCountDTO.setYbClosed(ybClosed); |
| | | caseYbCountDTO.setYbAudit(ybAudit); |
| | | caseYbCountDTO.setYbSupervise(ybSupervise); |
| | | caseYbCountDTO.setYbMerge(0L); |
| | | caseYbCountDTO.setAllYbTask(ybDispatch+ybAccept+ybClosed+ybAudit+ybSupervise); |
| | | return caseYbCountDTO; |
| | | } |
| | | |
| | | /** |
| | |
| | | gridToDoBacthVo.setYzyContent(""); |
| | | gridToDoBacthVo.setObjTag(""); |
| | | gridToDoBacthVo.setMobile("18607214221"); |
| | | gridToDoBacthVo.setTodoType(GridEnum.GRID_TODO_TYPE_5.getIndex()); |
| | | if(StringUtils.isNotEmpty(caseInfo.getCanalSecond())&&caseInfo.getCanalSecond().equals("22_00003-7")){ |
| | | gridToDoBacthVo.setTodoType(GridEnum.GRID_TODO_TYPE_6.getIndex()); |
| | | }else { |
| | | gridToDoBacthVo.setTodoType(GridEnum.GRID_TODO_TYPE_5.getIndex()); |
| | | } |
| | | |
| | | String title = ""; |
| | | title += noticeTypeName; |
| | | if (StringUtils.isNotBlank(caseInfo.getPlaintiffs())) { |