|
@@ -238,7 +238,7 @@ public class FormulaController {
|
|
|
if(info.getDesigns().size()>0){
|
|
|
AtomicInteger i= new AtomicInteger();
|
|
|
List<Object> tmpList = info.getDesigns().stream()
|
|
|
- .map(e-> CustomFunction.b445random(info.getSizeAt(i.get()),e,info.getDevAt(i.get()),info.getFailAt(i.getAndIncrement()),1))
|
|
|
+ .map(e-> CustomFunction.listTrim(CustomFunction.b445random(info.getSizeAt(i.get()),e,info.getDevAt(i.get()),info.getFailAt(i.getAndIncrement()),1)))
|
|
|
.flatMap(Collection::stream)
|
|
|
.collect(Collectors.toList());
|
|
|
if(Func.isNotEmpty(tmpList)){
|