租户编码

This commit is contained in:
zhonghua1
2025-12-20 20:22:28 +08:00
parent 7e12a154c5
commit eb4b9d2805
3 changed files with 8 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ public class TenantController {
/**
* 分页查询租户列表
*/
@GetMapping("/list")
@PostMapping("/list")
@Operation(summary = "分页查询租户列表", description = "根据条件分页查询租户信息列表")
public ResponseEntity<Map<String, Object>> getTenantList(
@Parameter(description = "页码", example = "1")

View File

@@ -33,6 +33,10 @@ public class DeviceManagement implements Serializable {
@TableField("tenant_id")
private String tenantId;
@Schema(description = "租户编码")
@TableField("tenant_code")
private String tenantCode;
@Schema(description = "设备编号")
@TableField("device_code")
private String deviceCode;