嘉兴访客系统
This commit is contained in:
1 parent
937b2b8582
commit
9f174a5f6c
2 files changed
+3
-1
No files matched your search
+2
@@ -92,4 +92,6 @@ public class VisitorsAppPageVo {
|
||||
@Schema(description="类型")
|
||||
private String type;
|
||||
|
||||
|
||||
|
||||
}
|
||||
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user