public class DatawayUtils extends Object
| 构造器和说明 |
|---|
DatawayUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
currentLostTime() |
static String |
evalCodeValueForSQL(String strCodeValue,
Map<String,Object> strRequestBody) |
static Result<Object> |
exceptionToResult(Throwable e) |
static Result<Object> |
exceptionToResultWithSpecialValue(Map<String,Object> optionMap,
Throwable e,
Object specialValue) |
static boolean |
isResultStructure(Map<String,Object> optionMap)
在选项中判断,是否保留外层结构
|
static Result<Object> |
queryResultToResultWithSpecialValue(Map<String,Object> optionMap,
QueryResult queryResult,
Object specialValue) |
static long |
resetLocalTime() |
public static String evalCodeValueForSQL(String strCodeValue, Map<String,Object> strRequestBody)
public static long resetLocalTime()
public static long currentLostTime()
public static boolean isResultStructure(Map<String,Object> optionMap)
public static Result<Object> queryResultToResultWithSpecialValue(Map<String,Object> optionMap, QueryResult queryResult, Object specialValue)
Copyright © 2020. All rights reserved.