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 | 212 | * 贷款到期时间 |
213 | 213 | */ |
214 | 214 | private Date expires; |
215 | + /** | |
216 | + * 临时的专属顾问关系 | |
217 | + */ | |
218 | + private Boolean temporary; | |
215 | 219 | |
216 | 220 | public Long getBuyPrice() { |
217 | 221 | if (Objects.isNull(buyPrice)) { |
... | ... | @@ -220,8 +224,8 @@ public class CustomerDetailDto { |
220 | 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 | 229 | dto.setUseType(memberVehicle.getUseType().getValue()); |
226 | 230 | dto.setCusType(memberVehicle.getCusType().getValue()); |
227 | 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 | 11 | |
12 | 12 | /** |
13 | 13 | * 档案详情 |
14 | + * | |
14 | 15 | * @author kurisu |
15 | 16 | */ |
16 | 17 | @Data |
... | ... | @@ -116,6 +117,10 @@ public class CustomerDetailVO { |
116 | 117 | * 进站次数 |
117 | 118 | */ |
118 | 119 | private Integer arrivalCount; |
120 | + /** | |
121 | + * 临时的专属顾问关系 | |
122 | + */ | |
123 | + private Boolean temporary; | |
119 | 124 | |
120 | 125 | public List<String> getTags() { |
121 | 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 | 136 | dto.setArrivalTime(customer.getArrivalTime()); |
137 | 137 | dto.setAdviserId(customer.getAdviserId()); |
138 | 138 | dto.setArrivalCount(customer.getArrivalCount()); |
139 | + dto.setTemporary(customer.getTemporary()); | |
139 | 140 | UserInfoDTO user = ehrRpcService.user(customer.getAdviserId()); |
140 | 141 | if (Objects.nonNull(user)) { |
141 | 142 | dto.setAdviserName(user.getUserName()); | ... | ... |