搜索条件,开始时间结束时间控件精确到日期;
列表中去掉“层级”一列; 列表中显示序号一列 数据列表上下级节点的数据类型校验 分类性质菜单拆分,分为分类管理、性质管理两个菜单 地域、运营商、特征作用域三种数据拆分为三个功能菜单管理地域管理、运营商管理、特征作用域管理。
This commit is contained in:
@@ -47,5 +47,43 @@ public class ConfigDictUtils {
|
||||
public static SysDictInfo getSysDictInfoById(Integer sysDictId){
|
||||
return sysDictInfoDao.getDictById(sysDictId);
|
||||
}
|
||||
/**
|
||||
* 根据计算公式计算数据结果
|
||||
* @param sysDictId
|
||||
* @return
|
||||
*/
|
||||
public static Integer getNumberResult(Integer number1, Integer number2, Integer number3){
|
||||
|
||||
return number1+(number2-1)*number3;
|
||||
}
|
||||
/**
|
||||
* 根据数据类型编码取出数据类型
|
||||
* @param dictKey
|
||||
* @param intArr
|
||||
* @return
|
||||
*/
|
||||
public static String getItemTypeByNo(String dictKey, List intArr){
|
||||
String result = "";
|
||||
String value = DictUtils.getDictLabel(dictKey,intArr.get(0).toString());
|
||||
if(value.trim().equals("分类")){
|
||||
result = "分类";
|
||||
}
|
||||
if(value.trim().equals("性质")){
|
||||
result = "性质";
|
||||
}
|
||||
if(value.trim().equals("标签")){
|
||||
result = "标签";
|
||||
}
|
||||
if(value.trim().equals("地域")){
|
||||
result = "地域";
|
||||
}
|
||||
if(value.trim().equals("运营商")){
|
||||
result = "运营商";
|
||||
}
|
||||
if(value.trim().equals("特征作用域")){
|
||||
result = "特征作用域";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user