双重预防项目-国泰新华二开定制版
heheng
2025-11-20 037e91db7dee12aa1adc666601d890a58ca2e2ab
src/main/java/com/ruoyi/doublePrevention/controller/RiskOldInfoController.java
@@ -5,13 +5,12 @@
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;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
@RestController
@@ -38,6 +37,16 @@
        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;
    }
}