From 4f50365ac12b5954fe1b0e6f0ae10457b2628712 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sun, 3 Oct 2021 20:04:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AEmybatis=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E7=9A=84=E6=89=A7=E8=A1=8C=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mybatis/mybatis-config.xml | 19 ++++++++++++------- .../service/impl/GenTableServiceImpl.java | 4 ++-- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml b/ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml index 2b181131..ac47c038 100644 --- a/ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml +++ b/ruoyi-admin/src/main/resources/mybatis/mybatis-config.xml @@ -3,13 +3,18 @@ PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> - - - - - - - + + + + + + + + + + + + diff --git a/ruoyi-generator/src/main/java/com/ruoyi/generator/service/impl/GenTableServiceImpl.java b/ruoyi-generator/src/main/java/com/ruoyi/generator/service/impl/GenTableServiceImpl.java index 5cdcb409..5ace7be8 100644 --- a/ruoyi-generator/src/main/java/com/ruoyi/generator/service/impl/GenTableServiceImpl.java +++ b/ruoyi-generator/src/main/java/com/ruoyi/generator/service/impl/GenTableServiceImpl.java @@ -245,7 +245,7 @@ public class GenTableServiceImpl implements IGenTableService IOUtils.closeQuietly(zip); return outputStream.toByteArray(); } - + /** * 生成代码(自定义路径) * @@ -325,7 +325,7 @@ public class GenTableServiceImpl implements IGenTableService } /** - * 批量生成代码 + * 批量生成代码(下载方式) * * @param tableNames 表数组 * @return 数据