package com.ruoyi.web.controller;

import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.framework.web.service.Task;
import com.ruoyi.system.domain.projectV2.XmConstructionRate;
import com.ruoyi.system.service.projectV2.IXmConstructionRateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

public class TaskController {

    @Autowired
    private Task task;

    @GetMapping("/task/generateDb")
    public void generateDb() throws Exception {
        task.generateDb();
    }
}
