Java 基础 list 查询 ids

	public boolean deleteLogicByRecordId(Long recordId) {
		List<Long> ids = selectOrderImportDetailByRecordId(recordId)
			.stream()
			.map(orderImportDetail -> orderImportDetail.getId())
			.collect(Collectors.toList());
		return removeByIds(ids);
	}
posted @ 2020-12-17 11:43  古兴越  阅读(868)  评论(0编辑  收藏  举报