소스 검색

待建产品问题处理

yzc 1 년 전
부모
커밋
b05f07cd9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hx-sale/src/main/java/com/fjhx/sale/service/ext/impl/ExtQuotationProductServiceImpl.java

+ 1 - 1
hx-sale/src/main/java/com/fjhx/sale/service/ext/impl/ExtQuotationProductServiceImpl.java

@@ -145,7 +145,7 @@ public class ExtQuotationProductServiceImpl extends ServiceImpl<ExtQuotationProd
         Assert.notEmpty(extQuotationProduct, "查询不到对外报价单产品信息");
 
         this.update(q -> q
-                .eq(ExtQuotationProduct::getQuotationProductId, extQuotationProductId)
+                .eq(ExtQuotationProduct::getId, extQuotationProductId)
                 .set(ExtQuotationProduct::getProductId, productInfoDto.getId())
                 .set(BasePo::getUpdateUser, SecurityUtils.getUserId())
                 .set(BasePo::getUpdateTime, new Date())