| 
														
															@@ -288,10 +288,16 @@ public class FsCouponScheduleServiceImpl implements IFsCouponScheduleService 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             logList.add(scheduleLog); 
														 | 
														
														 | 
														
															             logList.add(scheduleLog); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 批量更新发放优惠券队列表 
														 | 
														
														 | 
														
															         // 批量更新发放优惠券队列表 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fsCouponScheduleMapper.updateBatchFsCouponSchedule(fsCouponSchedules); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if(CollectionUtils.isNotEmpty(fsCouponSchedules)){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            fsCouponScheduleMapper.updateBatchFsCouponSchedule(fsCouponSchedules); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 批量添加执行日志 
														 | 
														
														 | 
														
															         // 批量添加执行日志 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fsCouponScheduleLogMapper.batchInsert(logList); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if(CollectionUtils.isNotEmpty(logList)){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            fsCouponScheduleLogMapper.batchInsert(logList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 批量进行微信公众号消息通知 
														 | 
														
														 | 
														
															         // 批量进行微信公众号消息通知 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        fsMiniprogramSubNotifyTaskMapper.insertBatch(subNotifyTasks); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if(CollectionUtils.isNotEmpty(subNotifyTasks)){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            fsMiniprogramSubNotifyTaskMapper.insertBatch(subNotifyTasks); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 |