| 
														
															@@ -455,131 +455,131 @@ public class SyncOrderInfoLogic { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(feedbackRespList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(feedbackRespList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 feedbackRespList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 feedbackRespList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderFeedbackService.saveBatch(feedbackRespList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderFeedbackService.saveBatch(feedbackRespList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderDetailList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderDetailList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderDetailList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderDetailList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderDetailService.saveBatch(tblWorkOrderDetailList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderDetailService.saveBatch(tblWorkOrderDetailList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(collectionChargeList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(collectionChargeList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 collectionChargeList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 collectionChargeList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblCollectionChargeService.saveBatch(collectionChargeList); 
														 | 
														
														 | 
														
															                 itfTblCollectionChargeService.saveBatch(collectionChargeList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(collectionChargeDetails)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(collectionChargeDetails)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 collectionChargeDetails.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 collectionChargeDetails.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblCollectionChargeDetailService.saveBatch(collectionChargeDetails); 
														 | 
														
														 | 
														
															                 itfTblCollectionChargeDetailService.saveBatch(collectionChargeDetails); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblOldProductOrderDetailList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblOldProductOrderDetailList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblOldProductOrderDetailList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblOldProductOrderDetailList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblOldProductOrderDetailService.saveBatch(tblOldProductOrderDetailList); 
														 | 
														
														 | 
														
															                 itfTblOldProductOrderDetailService.saveBatch(tblOldProductOrderDetailList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderAddComplainList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderAddComplainList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderAddComplainList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderAddComplainList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderAddComplainService.saveBatch(tblWorkOrderAddComplainList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderAddComplainService.saveBatch(tblWorkOrderAddComplainList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderAppointList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderAppointList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderAppointList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderAppointList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderAppointService.saveBatch(tblWorkOrderAppointList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderAppointService.saveBatch(tblWorkOrderAppointList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderCancelList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderCancelList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderCancelList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderCancelList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderCancelService.saveBatch(tblWorkOrderCancelList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderCancelService.saveBatch(tblWorkOrderCancelList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderComplainList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderComplainList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderComplainList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderComplainList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderComplainService.saveBatch(tblWorkOrderComplainList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderComplainService.saveBatch(tblWorkOrderComplainList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderComplainFeedbackList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderComplainFeedbackList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderComplainFeedbackList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderComplainFeedbackList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderComplainFeedbackService.saveBatch(tblWorkOrderComplainFeedbackList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderComplainFeedbackService.saveBatch(tblWorkOrderComplainFeedbackList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderCompleteInfoList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderCompleteInfoList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderCompleteInfoList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderCompleteInfoList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderCompleteInfoService.saveBatch(tblWorkOrderCompleteInfoList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderCompleteInfoService.saveBatch(tblWorkOrderCompleteInfoList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderConsultList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderConsultList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderConsultList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderConsultList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderConsultService.saveBatch(tblWorkOrderConsultList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderConsultService.saveBatch(tblWorkOrderConsultList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderDetailBarcodeList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderDetailBarcodeList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderDetailBarcodeList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderDetailBarcodeList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderDetailBarcodeService.saveBatch(tblWorkOrderDetailBarcodeList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderDetailBarcodeService.saveBatch(tblWorkOrderDetailBarcodeList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderDetailRelocationList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderDetailRelocationList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderDetailRelocationList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderDetailRelocationList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderDetailRelocationService.saveBatch(tblWorkOrderDetailRelocationList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderDetailRelocationService.saveBatch(tblWorkOrderDetailRelocationList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderDispatchOutletsList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderDispatchOutletsList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderDispatchOutletsList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderDispatchOutletsList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderDispatchOutletsService.saveBatch(tblWorkOrderDispatchOutletsList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderDispatchOutletsService.saveBatch(tblWorkOrderDispatchOutletsList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderEngineerList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderEngineerList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderEngineerList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderEngineerList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderEngineerService.saveBatch(tblWorkOrderEngineerList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderEngineerService.saveBatch(tblWorkOrderEngineerList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderEvaluationList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderEvaluationList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderEvaluationList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderEvaluationList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderEvaluationService.saveBatch(tblWorkOrderEvaluationList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderEvaluationService.saveBatch(tblWorkOrderEvaluationList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderExtList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderExtList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderExtList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderExtList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderExtService.saveBatch(tblWorkOrderExtList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderExtService.saveBatch(tblWorkOrderExtList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderIndicatorsList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderIndicatorsList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderIndicatorsList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderIndicatorsList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderIndicatorsService.saveBatch(tblWorkOrderIndicatorsList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderIndicatorsService.saveBatch(tblWorkOrderIndicatorsList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderSignList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderSignList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderSignList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderSignList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderSignService.saveBatch(tblWorkOrderSignList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderSignService.saveBatch(tblWorkOrderSignList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderTagList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderTagList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderTagList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderTagList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderTagService.saveBatch(tblWorkOrderTagList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderTagService.saveBatch(tblWorkOrderTagList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(workOrderChargeList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(workOrderChargeList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 workOrderChargeList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 workOrderChargeList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderChargeService.saveBatch(workOrderChargeList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderChargeService.saveBatch(workOrderChargeList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(workOrderCollectionComplainList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(workOrderCollectionComplainList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 workOrderCollectionComplainList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 workOrderCollectionComplainList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderCollectionComplainService.saveBatch(workOrderCollectionComplainList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderCollectionComplainService.saveBatch(workOrderCollectionComplainList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderDispatchEngineerList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderDispatchEngineerList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderDispatchEngineerList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderDispatchEngineerList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderDispatchEngineerService.saveBatch(tblWorkOrderDispatchEngineerList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderDispatchEngineerService.saveBatch(tblWorkOrderDispatchEngineerList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(tblWorkOrderStatusList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(tblWorkOrderStatusList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 tblWorkOrderStatusList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 tblWorkOrderStatusList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderStatusService.saveBatch(tblWorkOrderStatusList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderStatusService.saveBatch(tblWorkOrderStatusList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(workOrderCollectionList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(workOrderCollectionList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 workOrderCollectionList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 workOrderCollectionList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderCollectionService.saveBatch(workOrderCollectionList); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderCollectionService.saveBatch(workOrderCollectionList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(collectionRepairList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(collectionRepairList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 collectionRepairList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 collectionRepairList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblCollectionRepairService.saveBatch(collectionRepairList); 
														 | 
														
														 | 
														
															                 itfTblCollectionRepairService.saveBatch(collectionRepairList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(collectionRepairPartList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(collectionRepairPartList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 collectionRepairPartList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 collectionRepairPartList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblCollectionRepairPartService.saveBatch(collectionRepairPartList); 
														 | 
														
														 | 
														
															                 itfTblCollectionRepairPartService.saveBatch(collectionRepairPartList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(collectionRepairProjectList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(collectionRepairProjectList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 collectionRepairProjectList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 collectionRepairProjectList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblCollectionRepairProjectService.saveBatch(collectionRepairProjectList); 
														 | 
														
														 | 
														
															                 itfTblCollectionRepairProjectService.saveBatch(collectionRepairProjectList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(collectionRepairSymptomReasonList)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(collectionRepairSymptomReasonList)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 collectionRepairSymptomReasonList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 collectionRepairSymptomReasonList.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblCollectionRepairSymptomReasonService.saveBatch(collectionRepairSymptomReasonList); 
														 | 
														
														 | 
														
															                 itfTblCollectionRepairSymptomReasonService.saveBatch(collectionRepairSymptomReasonList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            if (CollectionUtils.isEmpty(itfTblWorkOrders)) { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            if (!CollectionUtils.isEmpty(itfTblWorkOrders)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrders.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
														
														 | 
														
															                 itfTblWorkOrders.stream().forEach(item -> item.setDownloadBatchNo(batch)); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 itfTblWorkOrderService.saveBatch(itfTblWorkOrders); 
														 | 
														
														 | 
														
															                 itfTblWorkOrderService.saveBatch(itfTblWorkOrders); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 |