微调
This commit is contained in:
@@ -781,13 +781,15 @@ public class ResultServiceImpl implements IResultService {
|
||||
}
|
||||
|
||||
private Integer conform(Set<Integer> numbers) {
|
||||
if (CollUtil.isNotEmpty(numbers)) {
|
||||
if (numbers.size() > 1) {
|
||||
if (numbers.contains(4)) {
|
||||
return 4;
|
||||
} else if (numbers.contains(2)) {
|
||||
if (numbers.contains(2)) {
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
return numbers.iterator().next();
|
||||
} else {
|
||||
return 4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user