mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-01 02:38:43 +08:00 
			
		
		
		
	fix: 使用convertSetByFlatMap避免 ID 重复
Signed-off-by: dhb52 <dhb52@126.com>
This commit is contained in:
		| @@ -137,7 +137,7 @@ public class CrmCustomerController { | ||||
|             return java.util.Collections.emptyList(); | ||||
|         } | ||||
|         // 1.1 获取创建人、负责人列表 | ||||
|         Map<Long, AdminUserRespDTO> userMap = adminUserApi.getUserMap(convertListByFlatMap(list, | ||||
|         Map<Long, AdminUserRespDTO> userMap = adminUserApi.getUserMap(convertSetByFlatMap(list, | ||||
|                 contact -> Stream.of(NumberUtils.parseLong(contact.getCreator()), contact.getOwnerUserId()))); | ||||
|         Map<Long, DeptRespDTO> deptMap = deptApi.getDeptMap(convertSet(userMap.values(), AdminUserRespDTO::getDeptId)); | ||||
|         // 1.2 获取距离进入公海的时间 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dhb52
					dhb52