diff --git a/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java b/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java index 5c8564ff..29d6b0ce 100644 --- a/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java +++ b/zt-module-contract-order/zt-module-contract-order-server/src/main/java/com/zt/plat/module/contractorder/service/contract/ContractServiceImpl.java @@ -1191,11 +1191,11 @@ public class ContractServiceImpl implements ContractService { if (StringUtils.isNotEmpty(queryReqVO.getContractName()) || StringUtils.isNotEmpty(queryReqVO.getContractPaperNumber())) { contractIds = getContractIds(queryReqVO.getContractName(), queryReqVO.getContractPaperNumber()); - } - // 未查询到相关合同 - if (CollectionUtils.isEmpty(contractIds)) { - return new PageResult<>(); + // 未查询到相关合同 + if (CollectionUtils.isEmpty(contractIds)) { + return new PageResult<>(); + } } // 分页查询 @@ -1218,11 +1218,11 @@ public class ContractServiceImpl implements ContractService { List contractIds = new ArrayList<>(); if (StringUtils.isNotEmpty(queryReqVO.getContractName()) || StringUtils.isNotEmpty(queryReqVO.getContractPaperNumber())) { contractIds = getContractIds(queryReqVO.getContractName(), queryReqVO.getContractPaperNumber()); - } - // 未查询到相关合同 - if (CollectionUtils.isEmpty(contractIds)) { - return new PageResult<>(); + // 未查询到相关合同 + if (CollectionUtils.isEmpty(contractIds)) { + return new PageResult<>(); + } } // 分页查询 @@ -1245,11 +1245,11 @@ public class ContractServiceImpl implements ContractService { List contractIds = new ArrayList<>(); if (StringUtils.isNotEmpty(queryReqVO.getContractName()) || StringUtils.isNotEmpty(queryReqVO.getContractPaperNumber())) { contractIds = getContractIds(queryReqVO.getContractName(), queryReqVO.getContractPaperNumber()); - } - // 未查询到相关合同 - if (CollectionUtils.isEmpty(contractIds)) { - return new PageResult<>(); + // 未查询到相关合同 + if (CollectionUtils.isEmpty(contractIds)) { + return new PageResult<>(); + } } // 分页查询