| | |
| | | @Override |
| | | public List<AttachmentInfo> findByIds(List<Long> ids) { |
| | | return attachmentInfoMapper.selectList(new LambdaQueryWrapper<AttachmentInfo>() |
| | | .in(AttachmentInfo::getBusinessId,ids) |
| | | .in(AttachmentInfo::getId,ids) |
| | | .eq(AttachmentInfo::getDelFlag,0)); |
| | | } |
| | | |
| | |
| | | public void updateBusinessIdBatch(List<AttachmentInfo> attachmentList) { |
| | | attachmentInfoMapper.updateBusinessIdBatch(attachmentList); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByBusinessId(Long businessId) { |
| | | attachmentInfoMapper.deleteByBusinessId(businessId); |
| | | } |
| | | } |
| | | |