吴健
2024-11-19 a7cef0a252f9aeebf383e5bc5b208969e57288ff
billion-generator/src/main/java/com/billion/generator/controller/GenController.java
@@ -6,6 +6,9 @@
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletResponse;
import com.billion.common.annotation.DataSource;
import com.billion.common.enums.DataSourceType;
import org.apache.commons.io.IOUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
@@ -84,6 +87,7 @@
     */
    @PreAuthorize("@ss.hasPermi('tool:gen:list')")
    @GetMapping("/db/list")
    @DataSource(value = DataSourceType.SLAVE)
    public TableDataInfo dataList(GenTable genTable)
    {
        startPage();