Эх сурвалжийг харах

补录订单没有费用信息校验提示异常的修复

dongxin 1 жил өмнө
parent
commit
311ee53f80

+ 1 - 1
src/main/java/com/ydtech/modules/order/service/impl/InsAreaCompanyServiceImpl.java

@@ -578,7 +578,7 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
 
         List<PtlAgreementProductCostsNew> costsNews = ptlAgreementProductCostsNewService.getByAgreementId(agreementProductQueryVo);
 
-        if (costsNews.isEmpty() || Objects.isNull(quoteVo.getNowCostsId()) ) {
+        if (costsNews.isEmpty()) {
             throw new SystemException("没有找到费用信息");
         }
         PtlAgreementProductCostsNew ptlAgreementProductCostsNew = costsNews.get(0);