{
  "properties": {},
  "id": "7894d08d-72c8-5586-b89f-594a6da69725",
  "script": null,
  "groupId": "25a971ba-6a80-5bb8-88f2-a0d53c183824",
  "name": "详情",
  "createTime": 1778891835481,
  "updateTime": null,
  "lock": null,
  "createBy": null,
  "updateBy": null,
  "path": "/detail",
  "method": "GET",
  "parameters": [],
  "options": [],
  "requestBody": null,
  "headers": [],
  "paths": [],
  "responseBody": null,
  "description": null,
  "requestBodyDefinition": null,
  "responseBodyDefinition": null
}
================================
assert id != null : 400, 'id不能为空';
var result = db.selectOne("""
select l.*,
    mf.name as manufacturer_name,
    c.name as category_name,
    s.name as supplier_name
from itam_licenses l
left join itam_manufacturers mf on l.manufacturer_id = mf.id and mf.deleted = 0
left join itam_categories c on l.category_id = c.id and c.deleted = 0
left join itam_suppliers s on l.supplier_id = s.id and s.deleted = 0
where l.id = #{id} and l.deleted = 0
""");
assert result != null : 404, '软件授权不存在';
return result;
