|
@@ -667,7 +667,7 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
|
|
Integer maxSort = Collections.max(sorts1);
|
|
Integer maxSort = Collections.max(sorts1);
|
|
//质量检验表附表 的sort的最小值
|
|
//质量检验表附表 的sort的最小值
|
|
Integer minSort = Collections.min(sorts2);
|
|
Integer minSort = Collections.min(sorts2);
|
|
- if(maxSort>minSort){
|
|
|
|
|
|
+ if(!Objects.equals(maxSort, minSort)){
|
|
resultTabs.forEach(r->{
|
|
resultTabs.forEach(r->{
|
|
if(idss.contains(r.getPKeyId()+"")){
|
|
if(idss.contains(r.getPKeyId()+"")){
|
|
r.setSort(maxSort);
|
|
r.setSort(maxSort);
|