From d84dc920559086fd8cfe880cd23c16f39677b9a0 Mon Sep 17 00:00:00 2001 From: cuibaocheng Date: Wed, 11 Aug 2021 10:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8A=A8=E6=80=81=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E8=87=AA=E5=8A=A8=E6=8E=92=E7=89=88=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=9A=84=E4=BF=9D=E5=AD=98=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templateconfig/templateconfig-mapper.xml | 18 ++++++++++--- .../templaterecord/templaterecord-mapper.xml | 3 +++ .../templateconfig/list-templateconfig.html | 25 ++++++++++++++++++- .../templaterecord/list-templaterecord.html | 25 ++++++++++++++++++- .../templateconfig/TemplateConfigDTO.java | 10 ++++++++ .../vos/templateconfig/TemplateConfigVO.java | 12 +++++++++ 6 files changed, 88 insertions(+), 5 deletions(-) diff --git a/module-freemarker/src/main/resources/mybatis/mapper/templateconfig/templateconfig-mapper.xml b/module-freemarker/src/main/resources/mybatis/mapper/templateconfig/templateconfig-mapper.xml index 8d01de5..c61ba17 100644 --- a/module-freemarker/src/main/resources/mybatis/mapper/templateconfig/templateconfig-mapper.xml +++ b/module-freemarker/src/main/resources/mybatis/mapper/templateconfig/templateconfig-mapper.xml @@ -14,6 +14,7 @@ + @@ -29,6 +30,7 @@ template_all_generate, template_file_type, template_mode, + template_project, creator, gmt_create, modifier, @@ -46,6 +48,7 @@ #{templateAllGenerate}, #{templateFileType}, #{templateMode}, + #{templateProject}, #{creator}, #{gmtCreate}, #{modifier}, @@ -114,6 +117,9 @@ template_mode = #{templateMode}, + + + template_project = #{templateProject}, modifier = #{modifier}, gmt_modified = #{gmtModified} @@ -133,7 +139,8 @@ t1.template_file, t1.template_all_generate, t1.template_file_type, - t1.template_mode + t1.template_mode, + t1.template_project FROM m_template_config t1 WHERE @@ -152,7 +159,8 @@ t1.template_file, t1.template_all_generate, t1.template_file_type, - t1.template_mode + t1.template_mode, + t1.template_project FROM m_template_config t1 WHERE @@ -175,7 +183,8 @@ t1.template_file, t1.template_all_generate, t1.template_file_type, - t1.template_mode + t1.template_mode, + t1.template_project FROM m_template_config t1 WHERE @@ -186,6 +195,9 @@ t1.template_name LIKE CONCAT('%', #{keywords}, '%') ) + + AND t1.template_project = #{templateProject} + AND LEFT(t1.gmt_create, 10) = ]]> #{startTime} diff --git a/module-freemarker/src/main/resources/mybatis/mapper/templaterecord/templaterecord-mapper.xml b/module-freemarker/src/main/resources/mybatis/mapper/templaterecord/templaterecord-mapper.xml index 0ab96be..bb91476 100644 --- a/module-freemarker/src/main/resources/mybatis/mapper/templaterecord/templaterecord-mapper.xml +++ b/module-freemarker/src/main/resources/mybatis/mapper/templaterecord/templaterecord-mapper.xml @@ -153,6 +153,9 @@ t1.template_record_id LIKE CONCAT('%', #{keywords}, '%') ) + + AND t2.template_project = #{templateProject} + AND LEFT(t1.gmt_create, 10) = ]]> #{startTime} diff --git a/module-freemarker/src/main/resources/templates/templateconfig/list-templateconfig.html b/module-freemarker/src/main/resources/templates/templateconfig/list-templateconfig.html index 8969445..9252e98 100644 --- a/module-freemarker/src/main/resources/templates/templateconfig/list-templateconfig.html +++ b/module-freemarker/src/main/resources/templates/templateconfig/list-templateconfig.html @@ -26,6 +26,7 @@
+
@@ -50,6 +51,14 @@ +