| | |
| | | orderRemarkService.deletedOrderRemarkByTjNum(order.getTjNumber()); |
| | | redisCache.deleteObject("getOrderDetailByProParentId" + order.getTjNumber()); |
| | | for (TbTransition transition : tbTransitionList) { |
| | | transition.setNowPrice(transition.getOrdPrice().multiply(BigDecimal.valueOf(Double.parseDouble(discount)).divide(BigDecimal.valueOf(10)))); |
| | | transitionService.updateById(transition); |
| | | // transition.setNowPrice(transition.getOrdPrice().multiply(BigDecimal.valueOf(Double.parseDouble(discount)).divide(BigDecimal.valueOf(10)))); |
| | | // transitionService.updateById(transition); |
| | | TjProject tjProject = projectService.selectTjProjectByProId(transition.getProId()); |
| | | //子项 |
| | | if (null != tjProject) { |
| | |
| | | } |
| | | LambdaQueryWrapper<TbTransition> wqq = new LambdaQueryWrapper<>(); |
| | | wqq.eq(TbTransition::getCusId, customer.getCusIdcard()); |
| | | wqq.in(TbTransition::getProId, proIds); |
| | | if ( proIds.size() > 0){ |
| | | wqq.in(TbTransition::getProId, proIds); |
| | | } |
| | | List<TbTransition> tbTransitionList = transitionService.list(wqq); |
| | | if (null != tbTransitionList && tbTransitionList.size() > 0) { |
| | | for (TbTransition transition : tbTransitionList) { |
| | |
| | | |
| | | LambdaQueryWrapper<TjProject> wq1 = new LambdaQueryWrapper<>(); |
| | | wq1.eq(TjProject::getProParentId, remark.getProId()); |
| | | wq1.eq(TjProject::getNeedReport, "Y"); |
| | | List<TjProject> projectList = projectService.list(wq1); |
| | | if (null != projectList && projectList.size() > 0) { |
| | | List<Long> collect = projectList.stream().map(TjProject::getProId).collect(Collectors.toList()); |
| | |
| | | customer.setNotCheckeds(String.valueOf(stringBuilder)); |
| | | if (null == customer.getNotCheckeds()) customer.setNotCheckeds("全部已检"); |
| | | } |
| | | redisCache.setCacheMapValue("ks"+ksId+":"+customer.getCusId(),"1",customer); |
| | | // redisCache.setCacheMapValue("ks"+ksId+":"+customer.getCusId(),"1",customer); |
| | | redisCache.setCacheMapValue("ks"+ksId+":"+customer.getCusId(),"0",customer); |
| | | } |
| | | } |