magic-boot/data/magic-api/api/后台/数据字典/获取排序号.ms
2021-10-29 15:29:57 +08:00

24 lines
639 B
Plaintext

{
"properties" : { },
"id" : "247133030553488a8871aa47b9f5e76c",
"script" : null,
"groupId" : "c7ce65f5b3cf4aaa913f6fec7d35d176",
"name" : "获取排序号",
"createTime" : null,
"updateTime" : 1634735056733,
"lock" : "0",
"method" : "GET",
"path" : "/sort",
"parameters" : [ ],
"option" : "[]",
"requestBody" : "",
"headers" : [ ],
"paths" : [ ],
"responseBody" : null,
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : null,
"optionMap" : { }
}
================================
return db.selectInt("""select max(sort) + 10 from sys_dict where is_del = '0'""") || 10;