实现系统管理表格操作接口、分页操作

This commit is contained in:
lixiaoyuan
2025-08-22 19:06:50 +08:00
parent 7e965b6fb4
commit 7fe51ea362
56 changed files with 2234 additions and 1304 deletions

View File

@@ -1,4 +1,6 @@
#include <string>
#pragma once
#include <string>
using namespace std;
///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -18,6 +20,20 @@ namespace DMUser
const string LOGINTIME = "login_time";
const string CREATETIME = "create_time";
const string UPDATETIME = "update_time";
// 联合查询时使用
const string ROLE_NAME = "role_name";
}
///////////////////////////////////////////////////////////////////////////////////////////////////
/// 用户角色 表结构字段
namespace DMUserRole
{
const string TABLENAME = "user_role";
const string USER_ID = "user_id";
const string ROLE_ID = "role_id";
const string CREATETIME = "create_time";
const string UPDATETIME = "update_time";
}
///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -71,7 +87,7 @@ namespace DMDevice
const string TABLENAME = "device";
const string DEVICE_ID = "device_id";
const string STATION_ID = "station_id";
const string TYPE = "type";
const string TYPE_ID = "type_id";
const string NAME = "name";
const string CODE = "code";
const string MODEL = "model";
@@ -84,6 +100,14 @@ namespace DMDevice
const string UPDATE_TIME = "update_time";
}
namespace DMDeviceTypeDef
{
const string TABLENAME = "def_device_type";
const string TYPE_ID = "type_id";
const string NAME = "name";
const string ATTRS = "attrs";
}
namespace DMPolicy
{
const string TABLENAME = "policy";