订单自动完成代码被回滚问题处理
This commit is contained in:
		
							parent
							
								
									fe9a5fb71d
								
							
						
					
					
						commit
						18f6e279d2
					
				@ -112,7 +112,7 @@ public class OrderEveryDayTaskExecute implements EveryDayExecute {
 | 
				
			|||||||
        if (!list.isEmpty()) {
 | 
					        if (!list.isEmpty()) {
 | 
				
			||||||
            List<String> receiveSnList = list.stream().map(Order::getSn).collect(Collectors.toList());
 | 
					            List<String> receiveSnList = list.stream().map(Order::getSn).collect(Collectors.toList());
 | 
				
			||||||
            for (String orderSn : receiveSnList) {
 | 
					            for (String orderSn : receiveSnList) {
 | 
				
			||||||
                orderService.complete(orderSn);
 | 
					                orderService.systemComplete(orderSn);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user