Commit d9212a9f0f5720d52dcfe6b5d4f47a1399deedb2

Authored by 房远帅
1 parent 7b727a8e

楚江ERP:客户资信:详情企业操作类型转中文

... ... @@ -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
... ...