| | |
| | | if(StringUtils.hasText(infoDto.getDelExamineItems())){ |
| | | List<Long> idList = Arrays.stream(infoDto.getDelExamineItems().split(",")).map(s-> Long.parseLong(s.trim())) |
| | | .collect(Collectors.toList()); |
| | | examineItemService.removeByIds(idList); |
| | | List<ExamineItem> delList = new ArrayList<>(); |
| | | idList.forEach(f->{ |
| | | ExamineItem info = new ExamineItem(); |
| | | info.setDelFlag(1); |
| | | info.setId(f); |
| | | delList.add(info); |
| | | }); |
| | | examineItemService.updateBatchById(delList); |
| | | } |
| | | |
| | | ExamineTemplate examineTemplate = BeanCopyUtils.copyBean(infoDto, ExamineTemplate.class); |