magic-boot/data/magic-api/api/系统管理/数据字典/字典项/获取排序号.ms

25 lines
699 B
Plaintext
Raw Normal View History

2021-10-24 20:09:53 +08:00
{
"properties" : { },
"id" : "5d5fc243a5594f79b95ed279e184732e",
"script" : null,
"groupId" : "376f26eb43a44a3daeafd27020a96f48",
"name" : "获取排序号",
"createTime" : 1646490239449,
2021-10-24 20:09:53 +08:00
"updateTime" : 1634735599490,
"lock" : "0",
"createBy" : null,
"updateBy" : null,
2021-10-24 20:09:53 +08:00
"path" : "/sort",
"method" : "GET",
2021-10-24 20:09:53 +08:00
"parameters" : [ ],
"options" : [ ],
2021-10-24 20:09:53 +08:00
"requestBody" : "",
"headers" : [ ],
"paths" : [ ],
"responseBody" : null,
"description" : null,
"requestBodyDefinition" : null,
"responseBodyDefinition" : null
2021-10-24 20:09:53 +08:00
}
================================
return db.selectInt("""select max(sort) + 10 from sys_dict_items where dict_id = #{dictId} and is_del = '0'""") || 10;