Commit 4a0a85e88c198ca759ba27b95f6edf4582b90b31
1 parent
f676720c
feature(*): 增加标识
- 增加标识
Showing
3 changed files
with
12 additions
and
2 deletions
fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/dto/CustomerDetailDto.java
@@ -212,6 +212,10 @@ public class CustomerDetailDto { | @@ -212,6 +212,10 @@ public class CustomerDetailDto { | ||
212 | * 贷款到期时间 | 212 | * 贷款到期时间 |
213 | */ | 213 | */ |
214 | private Date expires; | 214 | private Date expires; |
215 | + /** | ||
216 | + * 临时的专属顾问关系 | ||
217 | + */ | ||
218 | + private Boolean temporary; | ||
215 | 219 | ||
216 | public Long getBuyPrice() { | 220 | public Long getBuyPrice() { |
217 | if (Objects.isNull(buyPrice)) { | 221 | if (Objects.isNull(buyPrice)) { |
@@ -220,8 +224,8 @@ public class CustomerDetailDto { | @@ -220,8 +224,8 @@ public class CustomerDetailDto { | ||
220 | return buyPrice; | 224 | return buyPrice; |
221 | } | 225 | } |
222 | 226 | ||
223 | - public static CustomerDetailDto with(MemberVehicle memberVehicle){ | ||
224 | - CustomerDetailDto dto = BeanUtils.copy(memberVehicle,CustomerDetailDto.class); | 227 | + public static CustomerDetailDto with(MemberVehicle memberVehicle) { |
228 | + CustomerDetailDto dto = BeanUtils.copy(memberVehicle, CustomerDetailDto.class); | ||
225 | dto.setUseType(memberVehicle.getUseType().getValue()); | 229 | dto.setUseType(memberVehicle.getUseType().getValue()); |
226 | dto.setCusType(memberVehicle.getCusType().getValue()); | 230 | dto.setCusType(memberVehicle.getCusType().getValue()); |
227 | return dto; | 231 | return dto; |
fw-valhalla-domain/src/main/java/cn/fw/valhalla/domain/vo/customer/CustomerDetailVO.java
@@ -11,6 +11,7 @@ import java.util.stream.Collectors; | @@ -11,6 +11,7 @@ import java.util.stream.Collectors; | ||
11 | 11 | ||
12 | /** | 12 | /** |
13 | * 档案详情 | 13 | * 档案详情 |
14 | + * | ||
14 | * @author kurisu | 15 | * @author kurisu |
15 | */ | 16 | */ |
16 | @Data | 17 | @Data |
@@ -116,6 +117,10 @@ public class CustomerDetailVO { | @@ -116,6 +117,10 @@ public class CustomerDetailVO { | ||
116 | * 进站次数 | 117 | * 进站次数 |
117 | */ | 118 | */ |
118 | private Integer arrivalCount; | 119 | private Integer arrivalCount; |
120 | + /** | ||
121 | + * 临时的专属顾问关系 | ||
122 | + */ | ||
123 | + private Boolean temporary; | ||
119 | 124 | ||
120 | public List<String> getTags() { | 125 | public List<String> getTags() { |
121 | if (StringUtils.isValid(this.tags)) { | 126 | if (StringUtils.isValid(this.tags)) { |
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/cust/AbstractCustomerService.java
@@ -136,6 +136,7 @@ public abstract class AbstractCustomerService { | @@ -136,6 +136,7 @@ public abstract class AbstractCustomerService { | ||
136 | dto.setArrivalTime(customer.getArrivalTime()); | 136 | dto.setArrivalTime(customer.getArrivalTime()); |
137 | dto.setAdviserId(customer.getAdviserId()); | 137 | dto.setAdviserId(customer.getAdviserId()); |
138 | dto.setArrivalCount(customer.getArrivalCount()); | 138 | dto.setArrivalCount(customer.getArrivalCount()); |
139 | + dto.setTemporary(customer.getTemporary()); | ||
139 | UserInfoDTO user = ehrRpcService.user(customer.getAdviserId()); | 140 | UserInfoDTO user = ehrRpcService.user(customer.getAdviserId()); |
140 | if (Objects.nonNull(user)) { | 141 | if (Objects.nonNull(user)) { |
141 | dto.setAdviserName(user.getUserName()); | 142 | dto.setAdviserName(user.getUserName()); |