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

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,10 +1,10 @@
#include "Communicator.h"
#include "TcpEntity.h"
std::shared_ptr<CommEntity> Communicator::createEntity(DataFields& data)
std::shared_ptr<CommEntity> Communicator::createEntity(Fields& data)
{
std::string commType = data.getStr("commType");
std::string ip = data.getStr("ip");
std::string commType = data.value("commType");
std::string ip = data.value("ip");
int port = data.getInt("port");
int isclient = data.getInt("isclient");

View File

@@ -3,7 +3,7 @@
#include <memory>
#include <string>
#include "common/DataFields.h"
#include "common/Fields.h"
class CommEntity
{
@@ -35,5 +35,5 @@ public:
class Communicator
{
public:
static std::shared_ptr<CommEntity> createEntity(DataFields& data);
static std::shared_ptr<CommEntity> createEntity(Fields& data);
};