|
|
@ -19,7 +19,6 @@ import com.bfd.assemble.entity.Constants; |
|
|
|
@Slf4j |
|
|
|
public class DataUtil { |
|
|
|
/** |
|
|
|
* |
|
|
|
* @param key 传入的key |
|
|
|
* @param dataMap 数据map |
|
|
|
* @return 根据传入的参数进行判断解析,返回正确的dataValue |
|
|
@ -30,6 +29,9 @@ public class DataUtil { |
|
|
|
if (key.equals(Constants.EMPTY)) { |
|
|
|
return Constants.EMPTY; |
|
|
|
} |
|
|
|
if (!key.contains(Constants.NOT_KEY)) { |
|
|
|
return key; |
|
|
|
} |
|
|
|
Object dataValue; |
|
|
|
String isJson = "#json#"; |
|
|
|
if (key.contains(isJson)) { |
|
|
|