|
@@ -60,7 +60,7 @@ public class CameraServiceImpl extends MPJBaseServiceImpl<ICameraMapper, Camera>
|
|
public Object pageList(CameraListParam param) {
|
|
public Object pageList(CameraListParam param) {
|
|
Page<ResponseCamera> page = this.getBaseMapper().pageList(new Page<>(param.getPage(),param.getLimit()),param);
|
|
Page<ResponseCamera> page = this.getBaseMapper().pageList(new Page<>(param.getPage(),param.getLimit()),param);
|
|
for (ResponseCamera record : page.getRecords()) {
|
|
for (ResponseCamera record : page.getRecords()) {
|
|
- record.setCameraType(record.getType().toString());
|
|
|
|
|
|
+ record.setCameraType(record.getType());
|
|
}
|
|
}
|
|
return PageInfo.PageInfo(page);
|
|
return PageInfo.PageInfo(page);
|
|
}
|
|
}
|