|
|
@@ -236,7 +236,7 @@ public class UnifyOrderManager {
|
|
|
|
|
|
|
|
|
HttpResult<List<PtlAgreement>> byCompanyId = orgClient.getByCompanyId(esmInsCompanyHttpResult.getData().getId(), systemCode);
|
|
|
- if (byCompanyId.getData().isEmpty()) {
|
|
|
+ if (CollUtil.isEmpty(byCompanyId.getData())) {
|
|
|
AssertionUtils.isFail(true, "保司未配置协议");
|
|
|
}
|
|
|
PtlAgreement ptlAgreement = byCompanyId.getData().stream().filter(x -> x.getId().equals(quoteVo.getOrder().getAgreementId())).findFirst().orElse(null);
|