| | |
| | |
|
| | | 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);
|
| | | }
|