|
@@ -434,6 +434,9 @@ public class ContractInfoServiceImpl extends BaseServiceImpl<ContractInfoMapper,
|
|
} else if (contractInfo.getContractType().equals(2) || contractInfo.getContractType().equals(3)) {
|
|
} else if (contractInfo.getContractType().equals(2) || contractInfo.getContractType().equals(3)) {
|
|
//TODO 监理、指挥部
|
|
//TODO 监理、指挥部
|
|
List<ContractRelationJlyz> relationJLYZList = jdbcTemplate.query("select * from m_contract_relation_jlyz where contract_id_jlyz = " + contractId, new BeanPropertyRowMapper<>(ContractRelationJlyz.class));
|
|
List<ContractRelationJlyz> relationJLYZList = jdbcTemplate.query("select * from m_contract_relation_jlyz where contract_id_jlyz = " + contractId, new BeanPropertyRowMapper<>(ContractRelationJlyz.class));
|
|
|
|
+ if (ObjectUtil.isEmpty(relationJLYZList) || relationJLYZList.size() <= 0) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
for (ContractRelationJlyz contractRelationJlyz : relationJLYZList) {
|
|
for (ContractRelationJlyz contractRelationJlyz : relationJLYZList) {
|
|
LambdaQueryWrapper<WbsTreeContract> queryWrapper = new LambdaQueryWrapper<>();
|
|
LambdaQueryWrapper<WbsTreeContract> queryWrapper = new LambdaQueryWrapper<>();
|
|
queryWrapper.select(WbsTreeContract::getParentId, WbsTreeContract::getId, WbsTreeContract::getPKeyId);
|
|
queryWrapper.select(WbsTreeContract::getParentId, WbsTreeContract::getId, WbsTreeContract::getPKeyId);
|