|
|
@@ -41,7 +41,6 @@ import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
-import java.time.Duration;
|
|
|
import java.util.*;
|
|
|
import java.util.function.Function;
|
|
|
import java.util.stream.Collectors;
|
|
|
@@ -284,7 +283,8 @@ public class OrderAssignmentServiceImpl extends ServiceImpl<OrderAssignmentMappe
|
|
|
}
|
|
|
String type = rule.getAssigneeType();
|
|
|
if (!AssigneeTypeConstants.SUPPLIER.getCode().equals(type) &&
|
|
|
- !AssigneeTypeConstants.PARTNER.getCode().equals(type)) {
|
|
|
+ !AssigneeTypeConstants.PARTNER.getCode().equals(type) &&
|
|
|
+ !AssigneeTypeConstants.CUSTOMER.getCode().equals(type)) {
|
|
|
throw new ServiceException("分配对象类型不支持: " + type);
|
|
|
}
|
|
|
}
|