| | |
| | | import com.ruoyi.doublePrevention.entity.dto.DataCountDangerResultRespDO;
|
| | | import com.ruoyi.doublePrevention.repository.PreventRiskDangerInfoRepository;
|
| | | import com.ruoyi.doublePrevention.repository.param.DataCountStartAndEndTimeParams;
|
| | | import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
|
| | | import com.ruoyi.doublePrevention.service.baseService.PreventRiskDangerInfoService;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | |
| | | return preventRiskDangerInfoRepository.listDangerResultCountByTime(startTime,endTime,depIds);
|
| | | }
|
| | |
|
| | |
|
| | | /**
|
| | | * 搜索需要上报的隐患
|
| | | */
|
| | | @Override
|
| | | public List<PreventRiskDangerInfo> listReportDanger() {
|
| | | return preventRiskDangerInfoRepository.listReportDanger();
|
| | | }
|
| | | /**
|
| | | * 修改上报的数据的姿态
|
| | | */
|
| | | @Override
|
| | | public PreventRiskDangerInfo updateDangerInfoReportStatus(HandlerReportParam handlerReportParam) {
|
| | | return preventRiskDangerInfoRepository.updateDangerInfoReportStatus(handlerReportParam);
|
| | | }
|
| | | }
|