| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | import org.springframework.util.ObjectUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | } |
| | | return repository.getReceiveRecordsByReceiveUids(bo); |
| | | } |
| | | |
| | | @Override |
| | | public List<MaterialReceiveRecordsInfo> listByReceiveBaseId(Long id) { |
| | | if (ObjectUtils.isEmpty(id)) { |
| | | throw new EquipmentException(ResultCodes.CLIENT_PARAM_NULL); |
| | | } |
| | | List<MaterialReceiveRecordsInfo> receiveRecordsInfoList = repository.selectList(new LambdaQueryWrapper<MaterialReceiveRecordsInfo>() |
| | | .eq(MaterialReceiveRecordsInfo::getReceiveBaseId, id)); |
| | | return receiveRecordsInfoList; |
| | | } |
| | | } |