| | |
| | | for(int i = 0;i < length;i++) {
|
| | | String string = split[i];
|
| | | FollowTraderLabelEntity selectById = followTraderLabelDao.selectById(Long.parseLong(string));
|
| | | labelsName = selectById.getLabels();
|
| | | labelsName += (labelsName + ",");
|
| | | String labelsNames = selectById.getLabels();
|
| | | labelsName += (labelsNames + ",");
|
| | | }
|
| | | FollowTraderProfitInfoVo.setLabels(labelsName);
|
| | | }
|
| | |
| | | }
|
| | |
|
| | | public static void main(String[] args) {
|
| | | String labels = "";
|
| | | String labels = "1,2,3";
|
| | | if(StrUtil.isNotEmpty(labels)) {
|
| | | String labelsName = "";
|
| | | String[] split = labels.split(",");
|