提交
This commit is contained in:
+1
-1
@@ -724,7 +724,7 @@ public class ExceptionOrderService {
|
||||
? List.of("GENERATE_RETURN_INBOUND","CANCEL_EXCEPTION") : List.of("START_PROCESSING", "CANCEL_EXCEPTION");
|
||||
case "PROCESSING" -> "RETURN".equals(order.getExceptionType()) && "OVERSEAS_WAREHOUSE".equals(order.getReturnDirection()) && workflow.returnOrder(order)==null
|
||||
? List.of("GENERATE_RETURN_INBOUND") : List.of("COMPLETE_EXCEPTION");
|
||||
default -> List.of();
|
||||
default -> List.<String>of();
|
||||
});
|
||||
if (java.util.Set.of("PENDING", "PROCESSING").contains(Objects.requireNonNullElse(order.getStatus(), ""))) actions.add("FORCE_CLOSE");
|
||||
return List.copyOf(actions);
|
||||
|
||||
Reference in New Issue
Block a user