|
@@ -1,5 +1,6 @@
|
1
|
1
|
package com.yunzhi.marketing.xlk.service.impl;
|
2
|
2
|
|
|
3
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
3
|
4
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
4
|
5
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
5
|
6
|
import com.yunzhi.marketing.base.ResponseBean;
|
|
@@ -16,6 +17,7 @@ import org.springframework.stereotype.Service;
|
16
|
17
|
|
17
|
18
|
import java.time.LocalDateTime;
|
18
|
19
|
import java.util.List;
|
|
20
|
+import java.util.Map;
|
19
|
21
|
|
20
|
22
|
/**
|
21
|
23
|
* <p>
|
|
@@ -46,7 +48,7 @@ public class SceneLogServiceImpl extends ServiceImpl<SceneLogMapper, SceneLog> i
|
46
|
48
|
@Override
|
47
|
49
|
public ResponseBean getBuildingLogs(Integer pageNum, Integer pageSize, String buildingId, List<TaPersonBuilding> taPersonBuildingList, List<String> InstitutionIds) {
|
48
|
50
|
Page<BuildingLogVO> page = new Page<>(pageNum, pageSize);
|
49
|
|
- List<BuildingLogVO> buildings = this.baseMapper.getBuildingLogs(page, buildingId, taPersonBuildingList, InstitutionIds);
|
|
51
|
+ IPage<BuildingLogVO> buildings = this.baseMapper.getBuildingLogs(page, buildingId, taPersonBuildingList, InstitutionIds);
|
50
|
52
|
return ResponseBean.success(buildings);
|
51
|
53
|
}
|
52
|
54
|
}
|