|
|
@ -196,4 +196,48 @@ public class ParameterKit { |
|
|
|
|
|
|
|
|
|
|
|
return jsonArray; |
|
|
|
return jsonArray; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 参数类型 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final class Type { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Type(){} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 文本类型的参数 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final String TYPE_STRING = ParameterTypeHandler.String.name(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 整数类型的参数 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final String TYPE_INTEGER = ParameterTypeHandler.Integer.name(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 小数类型的参数 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final String TYPE_DOUBLE = ParameterTypeHandler.Double.name(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 日期类型的参数 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final String TYPE_DATE = ParameterTypeHandler.Date.name(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 布尔类型的参数 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final String TYPE_BOOLEAN = ParameterTypeHandler.Boolean.name(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 公式类型的参数 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final String TYPE_FORMULA = ParameterTypeHandler.Formula.name(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 长整形类型的参数 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public static final String TYPE_LONG = ParameterTypeHandler.Long.name(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|