|
@@ -218,7 +218,7 @@ public class QySecondlineHzdRqTzServiceImpl extends ServiceImpl<QySecondlineHzdR
|
|
|
if(CollectionUtil.isNotEmpty(attachmentList)){
|
|
|
List<QySecondlineHzdRqAttachment> attachments = attachmentList.stream().map(x -> {
|
|
|
QySecondlineHzdRqAttachment qySecondlineHzdAttachment = BeanUtil.toBean(x, QySecondlineHzdRqAttachment.class);
|
|
|
- x.setHzdId(hzdId);
|
|
|
+ qySecondlineHzdAttachment.setHzdId(hzdId);
|
|
|
return qySecondlineHzdAttachment;
|
|
|
}).toList();
|
|
|
qySecondlineHzdRqAttachmentService.saveBatch(attachments);
|