From 9c3c9bf7dfaf0f1c162a6aa06fdb7ca81711f70d Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 10 十月 2023 11:49:07 +0800 Subject: [PATCH] #回退流程相关 --- src/main/java/com/zy/crm/common/model/SettleDto.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/crm/common/model/SettleDto.java b/src/main/java/com/zy/crm/common/model/SettleDto.java index a1bb707..aacfa97 100644 --- a/src/main/java/com/zy/crm/common/model/SettleDto.java +++ b/src/main/java/com/zy/crm/common/model/SettleDto.java @@ -210,7 +210,7 @@ return list; } - public static List<SettleDto> initSalesPricing(User manager ,User user,List<String> names ,int nodes) { + public static List<SettleDto> initSalesPricing(User manager ,User user,User userUp,List<String> names ,int nodes) { List<SettleDto> list = new ArrayList<>(); for (int i = 0; i < nodes+1; i++) { SettleDto dto = new SettleDto(); @@ -239,6 +239,8 @@ break; case 3: dto.setTitle(names.get(i)); + dto.setUserId(userUp.getId()); + dto.setUsername(userUp.getUsername()); list.add(dto); break; default: @@ -283,6 +285,8 @@ break; case 4: dto.setTitle(names.get(i)); + dto.setUserId(user.getId()); + dto.setUsername(user.getUsername()); list.add(dto); break; default: -- Gitblit v1.9.1