项目大屏
This commit is contained in:
@ -160,7 +160,7 @@ public class ProjectBigScreenController {
|
|||||||
@GetMapping("/safetyInspection/{projectId}")
|
@GetMapping("/safetyInspection/{projectId}")
|
||||||
public R<List<ProjectSafetyInspectionVo>> getProjectSafetyInspection(@NotNull(message = "主键不能为空")
|
public R<List<ProjectSafetyInspectionVo>> getProjectSafetyInspection(@NotNull(message = "主键不能为空")
|
||||||
@PathVariable Long projectId) {
|
@PathVariable Long projectId) {
|
||||||
BusProject project = projectService.getById(projectId);
|
/* BusProject project = projectService.getById(projectId);
|
||||||
projectId = project.getGoId();
|
projectId = project.getGoId();
|
||||||
String pic;
|
String pic;
|
||||||
if (projectId == 60) {
|
if (projectId == 60) {
|
||||||
@ -176,7 +176,8 @@ public class ProjectBigScreenController {
|
|||||||
vo.setPicture(pic + tour.getPicture());
|
vo.setPicture(pic + tour.getPicture());
|
||||||
vo.setCreateTime(tour.getCreatedAt());
|
vo.setCreateTime(tour.getCreatedAt());
|
||||||
return vo;
|
return vo;
|
||||||
}).toList());
|
}).toList());*/
|
||||||
|
return R.ok(projectBigScreenService.getProjectSafetyInspection(projectId));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user