바인딩 변수 정의
Expressions
{{: }}
Param
Method
MethodHelper.java 참조
ID | Description |
---|---|
sysdate |
|
today |
|
dateFormat | |
stringFormat | |
decimalFormat | |
substringBefore | |
substringAfter | |
replace | |
replaceAll | |
contains | |
substring | |
max | |
or | |
isNullYn | |
isNotNullYn | |
decode | |
decodeEmpty | |
replaceMulti | |
remove | |
unHtml | |
isNotNullStr | |
isNullStr | |
default | |
defaultVal | |
decodeVal | |
decodeValEmpty | |
aboveInt | |
belowInt | |
excessInt | |
underInt | |
equalsVal | |
equals | |
notEquals | |
makeIdValue | |
conditionSysdate | |
weekDate | |
addDate | |
addDateTime | |
getEnvValue | |
fileName | |
getLastCode | |
getNode | |
getList | |
add | |
subtract | |
multiply | |
divide | |
Method can be customized |
Value
Code Block |
---|
[
{
"typeId": "apiCategory",
"id": "snack",
"categoryName": "snack API",
"dateFormat": "yyyy-MM-dd HH:mm:ss",
"fileUrlFormat": {
"default": "{{:getEnvValue('core.cluster.api-url-prefix')}}"
},
"commonParameters": [
{
"parameter": "_siteId",
"required": true
}
],
"commonResponse": [
]
},
{
"typeId": "api",
"category": "snack",
"apiId": "list",
"apiName": "snack List",
"apiType": "service",
"method": "GET",
"parameters": [
],
"statistic": true,
"aggregation": false,
"root": {
"configId": "root",
"tid": "snack",
"type": "query",
"query": [
{
"method": "matching",
"field": "name",
"value": "{{:name}}"
}
],
"response": [
{
"field": "id",
"type": "field",
"value": ""
},
{
"field": "name",
"type": "field",
"value": ""
},
{
"field": "scoreList",
"type": "config",
"config": [
{
"tid": "snackScore",
"type": "query",
"query": [
{
"method": "sorting",
"value": "score desc"
},
{
"method": "matching",
"field": "snack",
"value": "{{:id}}"
}
],
"response": [
{
"field": "id",
"type": "field",
"value": ""
},
{
"field": "score",
"type": "field",
"value": ""
}
]
}
]
}
]
}
}
]
|