| 
					
				 | 
			
			
				@@ -93,11 +93,10 @@ public class QyRecordInfoServiceImpl extends ServiceImpl<QyRecordInfoMapper, QyR 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public void add(QyRecordInfoAddParam qyRecordInfoAddParam) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         QyRecordInfo qyRecordInfo = BeanUtil.toBean(qyRecordInfoAddParam, QyRecordInfo.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.save(qyRecordInfo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        QyRecordInfo recordInfo = this.getOne(new LambdaQueryWrapper<QyRecordInfo>().eq(QyRecordInfo::getYlTzCode, qyRecordInfo.getYlTzCode())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<QyRecardBodyAddParam> qyRecardBodyAddParams = qyRecordInfoAddParam.getQyRecardBodyAddParams(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(CollectionUtil.isNotEmpty(qyRecardBodyAddParams)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             qyRecardBodyAddParams.stream().forEach(qyRecardBodyAddParam -> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                qyRecardBodyAddParam.setQyRecordInfoId(recordInfo.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                qyRecardBodyAddParam.setQyRecordInfoId(qyRecordInfo.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 QyRecardBody qyRecardBody = BeanUtil.toBean(qyRecardBodyAddParam, QyRecardBody.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 qyRecardBody.setQyRecordInfoId(qyRecordInfo.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 qyRecardBodyService.save(qyRecardBody); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -106,7 +105,7 @@ public class QyRecordInfoServiceImpl extends ServiceImpl<QyRecordInfoMapper, QyR 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<QyRecordAttachmentAddParam> qyRecordAttachmentAddParams = qyRecordInfoAddParam.getQyRecordAttachmentAddParams(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(CollectionUtil.isNotEmpty(qyRecordAttachmentAddParams)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             qyRecordAttachmentAddParams.stream().forEach(qyRecordAttachmentAddParam -> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                qyRecordAttachmentAddParam.setQyRecordInfoId(recordInfo.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                qyRecordAttachmentAddParam.setQyRecordInfoId(qyRecordInfo.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 QyRecordAttachment qyRecordAttachment = BeanUtil.toBean(qyRecordAttachmentAddParam, QyRecordAttachment.class); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 qyRecordAttachmentService.save(qyRecordAttachment); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 |