xiaoyong931011
2021-01-26 04dae77fdfb98be5614e63f6698ef74a374bad8f
src/main/java/com/xcong/excoin/modules/documentary/service/impl/DocumentaryServiceImpl.java
@@ -784,16 +784,15 @@
        
        String labels = followTraderInfoEntity.getLabels();
      if(StrUtil.isNotEmpty(labels)) {
         String labelsName = "";
         ArrayList<FollowTraderLabelEntity> arrayList = new ArrayList<>();
         String[] split = labels.split(",");
         int length = split.length;
         for(int i = 0;i < length;i++) {
            String string = split[i];
            FollowTraderLabelEntity selectById = followTraderLabelDao.selectById(Long.parseLong(string));
            labelsName = selectById.getLabels();
            labelsName += (labelsName + ",");
            arrayList.add(selectById);
         }
         tradeSetInfoVo.setLabels(labelsName);
         tradeSetInfoVo.setFollowTraderLabelEntitys(arrayList);
      }
      return Result.ok(tradeSetInfoVo);
   }