| | |
| | | } |
| | | customer.setTjTime(order.getCreateTime()); |
| | | customer.setTjNumber(order.getTjNumber()); |
| | | customer.setOrderId(order.getOrderId()); |
| | | customer.setIsHz(order.getIsHz()); |
| | | customerLis.add(customer); |
| | | |
| | | } |
| | |
| | | } |
| | | customer.setTjTime(order.getCreateTime()); |
| | | customer.setTjNumber(order.getTjNumber()); |
| | | customer.setOrderId(order.getOrderId()); |
| | | customer.setIsHz(order.getIsHz()); |
| | | list11111.add(customer); |
| | | } |
| | | } |
| | |
| | | } |
| | | customer.setTjTime(order.getCreateTime()); |
| | | customer.setTjNumber(order.getTjNumber()); |
| | | customer.setOrderId(orderId); |
| | | customer.setIsHz(order.getIsHz()); |
| | | customer.setTjStatus(Long.valueOf(type)); |
| | | List<TjOrderRemark> list = remarkService.getTjOrderRemarkListByYjNum(order.getTjNumber()); |
| | | if (null != list && list.size() > 0) { |
| | |
| | | return AjaxResult.error("获取用户信息错误"); |
| | | } |
| | | |
| | | if(redisCache.hasHKey("getOrderDetailByProParentId"+tjNumber,proParentId)){ |
| | | Map<String, Object> mapValue = redisCache.getCacheMapValue("getOrderDetailByProParentId" + tjNumber, proParentId); |
| | | return AjaxResult.success(mapValue); |
| | | } |
| | | // if(redisCache.hasHKey("getOrderDetailByProParentId"+tjNumber,proParentId)){ |
| | | // Map<String, Object> mapValue = redisCache.getCacheMapValue("getOrderDetailByProParentId" + tjNumber, proParentId); |
| | | // return AjaxResult.success(mapValue); |
| | | // } |
| | | |
| | | TjOrderRemark remark = remarkService.getTjOrderRemarkByTjNumAndProParentId(tjNumber, proParentId); |
| | | List<TjProject> proParentList = projectService.getTjProjectListBySoneId(proParentId); |
| | | if (null == proParentList) { |
| | | return AjaxResult.error("该项目下暂时没数据"); |
| | | if (null == proParentList || proParentList.size()==0) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("xiaoJieIds", null); |
| | | map.put("sons", projectService.list(new LambdaQueryWrapper<TjProject>().eq(TjProject::getProId,proParentId))); |
| | | map.put("xiaoJie", null); |
| | | map.put("remark", remark.getRemark()); |
| | | return AjaxResult.success(map); |
| | | } |
| | | List<Long> proParentIdList = proParentList.stream().map(TjProject::getProId).collect(Collectors.toList()); |
| | | TjOrder one = orderService.getOrderByTjNum(tjNumber); |
| | |
| | | return success(deptService.selectDeptTreeList(dept)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取子科室部门列表 |
| | | */ |
| | | @GetMapping("/getChildList") |
| | | @ApiOperation(value = "获取子科室部门列表") |
| | | public AjaxResult getChildList(String deptName) { |
| | | LambdaQueryWrapper<SysDept> wq=new LambdaQueryWrapper<>(); |
| | | wq.ne(SysDept::getParentId,0); |
| | | if (deptName!=null){ |
| | | wq.like(SysDept::getDeptName,deptName); |
| | | } |
| | | List<SysDept> depts = deptService.list(wq); |
| | | return success(depts); |
| | | } |
| | | |
| | | } |