|
|
@ -66,6 +66,7 @@ public class AgentLogServiceImpl extends ServiceImpl<AgentLogMapper, AgentLogEnt |
|
|
|
.eq(ObjectUtil.isNotEmpty(req.getChatId()), AgentLogEntity::getChatId, req.getChatId()) |
|
|
|
.eq(ObjectUtil.isNotEmpty(req.getChatId()), AgentLogEntity::getChatId, req.getChatId()) |
|
|
|
.eq(ObjectUtil.isNotEmpty(req.getQId()), AgentLogEntity::getQId, req.getQId()) |
|
|
|
.eq(ObjectUtil.isNotEmpty(req.getQId()), AgentLogEntity::getQId, req.getQId()) |
|
|
|
.like(ObjectUtil.isNotEmpty(req.getModelName()), AgentLogEntity::getModelName, req.getModelName()) |
|
|
|
.like(ObjectUtil.isNotEmpty(req.getModelName()), AgentLogEntity::getModelName, req.getModelName()) |
|
|
|
|
|
|
|
.like(StringUtil.isNotBlank(req.getQ()), AgentLogEntity::getQ, req.getQ()) |
|
|
|
.orderByAsc(AgentLogEntity::getCreateTime) |
|
|
|
.orderByAsc(AgentLogEntity::getCreateTime) |
|
|
|
.orderByAsc(AgentLogEntity::getChatId); |
|
|
|
.orderByAsc(AgentLogEntity::getChatId); |
|
|
|
return this.page(page, queryWrapper); |
|
|
|
return this.page(page, queryWrapper); |
|
|
|