mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-27 18:59:26 +08:00
实现系统管理表格操作接口、分页操作
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user