嘉兴访客系统

This commit is contained in:
zjf committed 2025-06-03 17:06:10 +08:00
1 parent 937b2b8582
commit 9f174a5f6c
2 files changed
+3 -1

No files matched your search

@@ -92,4 +92,6 @@ public class VisitorsAppPageVo {
@Schema(description="类型")
private String type;
}
@@ -274,7 +274,7 @@ public class VisitorsServiceImpl extends ServiceImpl<VisitorsMapper, VisitorsEnt
LambdaQueryWrapper<VisitorsEntity> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(VisitorsEntity::getUserId, userId);
wrapper.eq(StringUtils.isNotBlank(visitors.getCheckStatus()),VisitorsEntity::getCheckStatus, visitors.getCheckStatus());
wrapper.eq(VisitorsEntity::getType, visitors.getType());
wrapper.eq(StringUtils.isNotBlank(visitors.getType()),VisitorsEntity::getType, visitors.getType());
wrapper.orderByDesc(VisitorsEntity::getCreateTime);
Page pageData = baseMapper.selectPage(page, wrapper);
List<VisitorsAppPageVo> records = pageData.getRecords();