From 8ad99e5f72085d14fd56e8faa7aa36701823c8b5 Mon Sep 17 00:00:00 2001
From: liu <2021943741@qq.com>
Date: 星期四, 05 十一月 2026 20:16:23 +0800
Subject: [PATCH] feat(crm): 统一客户团队数据权限并放开开票金额上限
---
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableService.java | 28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableService.java b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableService.java
index bd0d5dc..b85a810 100644
--- a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableService.java
+++ b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/CrmReceivableService.java
@@ -36,13 +36,11 @@
*/
void updateReceivable(@Valid CrmReceivableSaveReqVO updateReqVO);
- /**
- * 鏇存柊鍥炴娴佺▼瀹℃壒缁撴灉
- *
- * @param id 鍥炴缂栧彿
- * @param bpmResult BPM 瀹℃壒缁撴灉
- */
- void updateReceivableAuditStatus(Long id, Integer bpmResult);
+ /** 鎻愪氦鍥炴瀹℃壒銆� */
+ void submitReceivable(Long id);
+
+ /** BPM 瀹℃壒缁撴潫鏃跺洖鍐欏洖娆剧姸鎬併�� */
+ void updateReceivableAuditStatus(Long id, Integer bpmStatus);
/**
* 鍒犻櫎鍥炴
@@ -50,14 +48,6 @@
* @param id 缂栧彿
*/
void deleteReceivable(Long id);
-
- /**
- * 鍙戣捣鍥炴瀹℃壒娴佺▼
- *
- * @param id 鍥炴缂栧彿
- * @param userId 鐢ㄦ埛缂栧彿
- */
- void submitReceivable(Long id, Long userId);
/**
* 鑾峰緱鍥炴
@@ -123,6 +113,14 @@
Map<Long, BigDecimal> getReceivablePriceMapByContractId(Collection<Long> contractIds);
/**
+ * 鑾峰緱寮�绁ㄥ凡鍥炴閲戦 Map锛堣崏绋� + 瀹℃壒涓� + 瀹℃壒閫氳繃锛�
+ *
+ * @param invoiceIds 寮�绁ㄧ紪鍙�
+ * @return 宸插洖娆鹃噾棰� Map
+ */
+ Map<Long, BigDecimal> getReceivablePriceMapByInvoiceId(Collection<Long> invoiceIds);
+
+ /**
* 鏍规嵁鍚堝悓缂栧彿鏌ヨ鍥炴鏁伴噺
*
* @param contractId 鍚堝悓缂栧彿
--
Gitblit v1.9.3