From a82d847bbb39e2417d4c9773ebc4fc51fdb0b8fc Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 10 十一月 2026 13:31:31 +0800
Subject: [PATCH] feat(crm): 完善投标保证金与报价单关联及作废功能
---
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/mysql/bidbond/CrmBidBondMapper.java | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/mysql/bidbond/CrmBidBondMapper.java b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/mysql/bidbond/CrmBidBondMapper.java
index 8d5e51c..b2868da 100644
--- a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/mysql/bidbond/CrmBidBondMapper.java
+++ b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/mysql/bidbond/CrmBidBondMapper.java
@@ -20,6 +20,7 @@
.eqIfPresent(CrmBidBondDO::getCustomerId, reqVO.getCustomerId())
.likeIfPresent(CrmBidBondDO::getProjectName, reqVO.getProjectName())
.likeIfPresent(CrmBidBondDO::getTenderNo, reqVO.getTenderNo())
+ .likeIfPresent(CrmBidBondDO::getQuotationNo, reqVO.getQuotationNo())
.likeIfPresent(CrmBidBondDO::getSaleOrderNo, reqVO.getSaleOrderNo())
.eqIfPresent(CrmBidBondDO::getBidResult, reqVO.getBidResult())
.eqIfPresent(CrmBidBondDO::getRefundStatus, reqVO.getRefundStatus())
@@ -34,6 +35,10 @@
default List<CrmBidBondDO> selectListByCustomerId(Long customerId) {
return selectList(CrmBidBondDO::getCustomerId, customerId);
+ }
+
+ default CrmBidBondDO selectByQuotationId(Long quotationId) {
+ return selectOne(CrmBidBondDO::getQuotationId, quotationId);
}
default List<CrmBidBondDO> selectListBySaleOrderIds(Collection<Long> saleOrderIds) {
@@ -52,6 +57,9 @@
.eq(CrmBidBondDO::getId, updateObj.getId())
.set(CrmBidBondDO::getSaleOrderId, updateObj.getSaleOrderId())
.set(CrmBidBondDO::getSaleOrderNo, updateObj.getSaleOrderNo())
+ .set(CrmBidBondDO::getQuotationId, updateObj.getQuotationId())
+ .set(CrmBidBondDO::getQuotationNo, updateObj.getQuotationNo())
+ .set(CrmBidBondDO::getQuotationRound, updateObj.getQuotationRound())
.set(CrmBidBondDO::getRefundAmount, updateObj.getRefundAmount())
.set(CrmBidBondDO::getRefundDate, updateObj.getRefundDate()));
}
--
Gitblit v1.9.3