| | |
| | | import com.ruoyi.doublePrevention.entity.dto.resp.RiskOldInfoQueryRespDTO; |
| | | import com.ruoyi.doublePrevention.enums.ResultCodes; |
| | | import com.ruoyi.doublePrevention.repository.RiskOldInfoRepository; |
| | | //import com.ruoyi.doublePrevention.scheduls.ZhunDongSchedule; |
| | | import com.ruoyi.doublePrevention.scheduls.ZhunDongSchedule; |
| | | import com.ruoyi.doublePrevention.service.baseService.RiskOldInfoService; |
| | | import com.ruoyi.doublePrevention.vo.ResultVO; |
| | |
| | | // return riskOldInfoService.selectOldRiskInfoPage(queryReqDTO); |
| | | } |
| | | // |
| | | // @Autowired |
| | | // private ZhunDongSchedule zhunDongSchedule; |
| | | // @GetMapping("/dataTest") |
| | | // public ResultVO dataTest() { |
| | | // zhunDongSchedule.updateHuaidongReportStatus(); |
| | | // ResultVO resultVO = new ResultVO<>(); |
| | | // resultVO.setCode(ResultCodes.OK.getCode()); |
| | | // return resultVO; |
| | | // } |
| | | @Autowired |
| | | private ZhunDongSchedule zhunDongSchedule; |
| | | @GetMapping("/dataTest") |
| | | public ResultVO dataTest(Integer indexId) { |
| | | zhunDongSchedule.ZDDangerInfosSP(indexId); |
| | | ResultVO resultVO = new ResultVO<>(); |
| | | resultVO.setCode(ResultCodes.OK.getCode()); |
| | | return resultVO; |
| | | } |
| | | |
| | | |
| | | } |