Showing
1 changed file
with
11 additions
and
0 deletions
xingyun-sc/src/main/java/com/lframework/xingyun/sc/controller/customer/CustomerCreditController.java
| ... | ... | @@ -463,6 +463,17 @@ public class CustomerCreditController extends DefaultBaseController { |
| 463 | 463 | List<String> businessIds = flowTaskList.stream().map(FlowTaskDto::getBusinessId).collect(Collectors.toList()); |
| 464 | 464 | data.setShowExamine(businessIds.contains(credit.getId())); |
| 465 | 465 | } |
| 466 | + // enterpriseOperationType 转中文 | |
| 467 | + String opType = data.getEnterpriseOperationType(); | |
| 468 | + if ("NEW_CUSTOMER".equals(opType)) { | |
| 469 | + data.setEnterpriseOperationType("新开发客户"); | |
| 470 | + } else if ("RECONNECT_CUSTOMER".equals(opType)) { | |
| 471 | + data.setEnterpriseOperationType("再接轨客户"); | |
| 472 | + } else if ("OLD_CUSTOMER".equals(opType)) { | |
| 473 | + data.setEnterpriseOperationType("老客户"); | |
| 474 | + } else { | |
| 475 | + data.setEnterpriseOperationType(""); | |
| 476 | + } | |
| 466 | 477 | return data; |
| 467 | 478 | } |
| 468 | 479 | ... | ... |