双重预防项目-国泰新华二开定制版
heheng
2025-11-20 037e91db7dee12aa1adc666601d890a58ca2e2ab
src/main/java/com/ruoyi/doublePrevention/controller/RiskOldInfoController.java
@@ -1,11 +1,12 @@
package com.ruoyi.doublePrevention.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.doublePrevention.entity.RiskOldInfo;
import com.ruoyi.doublePrevention.entity.dto.req.RiskOldInfoQueryReqDTO;
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;
import org.springframework.beans.factory.annotation.Autowired;
@@ -34,6 +35,17 @@
        resultVO.setPageSize(respDTOResultVO.getPageSize());
        return resultVO;
//        return riskOldInfoService.selectOldRiskInfoPage(queryReqDTO);
    }
//
    @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;
    }