| | |
| | | import cn.gistack.sm.sg.DTO.ProjectSearchDTO; |
| | | import cn.gistack.sm.sg.VO.SgProgressReportVO; |
| | | import cn.gistack.sm.sg.VO.SgProjectInfoVO; |
| | | import cn.gistack.sm.sg.VO.SgReportVO; |
| | | import cn.gistack.sm.sg.service.SgProgressReportService; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.core.mp.support.Condition; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 待办列表统计(APP、web共用) |
| | | * 待办列表统计(超级管理员) |
| | | */ |
| | | @GetMapping(value = "/approval_count_all") |
| | | public R countListAll(ProjectSearchDTO searchDTO) { |
| | |
| | | String reportId = sgProgressReportService.getDeviceReport(deviceId,stepId); |
| | | return R.data(reportId); |
| | | } |
| | | |
| | | /** |
| | | * 查询当前设备审批记录 |
| | | */ |
| | | @GetMapping(value = "/get_device_reportcopy") |
| | | public R getDeviceReportcopy(@RequestParam Long deviceId , @RequestParam(required = false) Long stepId) { |
| | | SgReportVO sgReportVO = sgProgressReportService.getDeviceReportcopy(deviceId, stepId); |
| | | return R.data(sgReportVO); |
| | | } |
| | | } |