|
|
@@ -3569,7 +3569,7 @@ public class WbsTreeContractServiceImpl extends BaseServiceImpl<WbsTreeContractM
|
|
|
// tableOwners.add(6);
|
|
|
// }
|
|
|
checkTableRequired(contract);
|
|
|
- List<WbsTreeContract> list = baseMapper.selectList(new LambdaQueryWrapper<>(WbsTreeContract.class).eq(WbsTreeContract::getPId, contract.getPKeyId()).ne(WbsTreeContract::getIsBussShow, 2));//.in(WbsTreeContract::getTableOwner, tableOwners);
|
|
|
+ List<WbsTreeContract> list = baseMapper.selectList(new LambdaQueryWrapper<>(WbsTreeContract.class).eq(WbsTreeContract::getPId, contract.getPKeyId()).apply(" (is_buss_show <> 2 or is_buss_show is null)"));//.in(WbsTreeContract::getTableOwner, tableOwners);
|
|
|
if (!list.isEmpty()) {
|
|
|
boolean b = list.stream().anyMatch(w -> w.getDateIsComplete() != null && w.getDateIsComplete() > 1);
|
|
|
String ancestorsPId = contract.getAncestorsPId();
|