Commit 0fb1952b by guojuxing

功能下拉接口

parent 17184e80
......@@ -29,7 +29,7 @@ public class FunctionDTO implements Serializable{
private Integer enterpriseId;
/**
* 功能组件,_1_2_数据格式。1:排行榜 2:会员概况 3:招募分析 4:会员画像 5:业绩概览 6:消费构成 7:单品排行 8:基础业绩
* 功能组件,可以多选,英文逗号隔开
*/
private String functionComponent;
......
package com.gic.cloud.web.vo;
import org.apache.commons.lang.StringUtils;
import java.io.Serializable;
public class FunctionDetailVO implements Serializable{
......@@ -17,7 +19,7 @@ public class FunctionDetailVO implements Serializable{
private String functionName;
/**
* 功能组件,_1_2_数据格式。1:排行榜 2:会员概况 3:招募分析 4:会员画像 5:业绩概览 6:消费构成 7:单品排行 8:基础业绩
* 功能组件,可以多选,英文逗号隔开
*/
private String functionComponent;
......@@ -40,6 +42,10 @@ public class FunctionDetailVO implements Serializable{
}
public String getFunctionComponent() {
if (StringUtils.isNotBlank(functionComponent)) {
functionComponent = functionComponent.substring(1, functionComponent.length() - 1);
return functionComponent.replaceAll("_", ",");
}
return functionComponent;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment