diff --git a/hchyun-ui/src/views/tool/query/uniQuery.vue b/hchyun-ui/src/views/tool/query/uniQuery.vue index 852a51e..153bc6e 100644 --- a/hchyun-ui/src/views/tool/query/uniQuery.vue +++ b/hchyun-ui/src/views/tool/query/uniQuery.vue @@ -114,7 +114,11 @@
- +
@@ -201,6 +205,7 @@ export default { for (var key in this.previewDate.data[0]) { this.previewDate.header.push(key) } + this.previewDate.open = true this.cloumns = JSONparse(list) }) }else { diff --git a/hchyun/hchyun-generator/src/main/resources/mapper/generator/ApiclassMapper.xml b/hchyun/hchyun-generator/src/main/resources/mapper/generator/ApiclassMapper.xml index 53fbf1b..7ae59a7 100644 --- a/hchyun/hchyun-generator/src/main/resources/mapper/generator/ApiclassMapper.xml +++ b/hchyun/hchyun-generator/src/main/resources/mapper/generator/ApiclassMapper.xml @@ -30,14 +30,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, m_id, c_name, c_describe, package_name, author, email, remark,prefix, create_time, create_by, update_time, update_by from sys_apiclass + select id, m_id, c_name, c_describe, package_name, author, email, remark,prefix, create_time, create_by, update_time, update_by from gen_apiclass - insert into sys_apiclass + insert into gen_apiclass m_id, c_name, @@ -82,7 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - update sys_apiclass + update gen_apiclass m_id = #{mId}, c_name = #{cName}, @@ -99,11 +99,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from sys_apiclass where id = #{id} + delete from gen_apiclass where id = #{id} - delete from sys_apiclass where id in + delete from gen_apiclass where id in #{id} diff --git a/hchyun/hchyun-generator/src/main/resources/mapper/generator/InterTableMapper.xml b/hchyun/hchyun-generator/src/main/resources/mapper/generator/InterTableMapper.xml index fa67313..f8d457b 100644 --- a/hchyun/hchyun-generator/src/main/resources/mapper/generator/InterTableMapper.xml +++ b/hchyun/hchyun-generator/src/main/resources/mapper/generator/InterTableMapper.xml @@ -78,17 +78,17 @@ diff --git a/hchyun/hchyun-generator/src/main/resources/mapper/generator/ModuleMapper.xml b/hchyun/hchyun-generator/src/main/resources/mapper/generator/ModuleMapper.xml index 79b32e8..73de4b6 100644 --- a/hchyun/hchyun-generator/src/main/resources/mapper/generator/ModuleMapper.xml +++ b/hchyun/hchyun-generator/src/main/resources/mapper/generator/ModuleMapper.xml @@ -16,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - select id, m_name, m_describe, remark, create_time, create_by, update_time, update_by from sys_module + select id, m_name, m_describe, remark, create_time, create_by, update_time, update_by from gen_module - insert into sys_module + insert into gen_module m_name, m_describe, @@ -52,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - update sys_module + update gen_module m_name = #{mName}, m_describe = #{mDescribe}, @@ -64,11 +64,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - delete from sys_module where id = #{id} + delete from gen_module where id = #{id} - delete from sys_module where id in + delete from gen_module where id in #{id} diff --git a/hchyun/hchyun-generator/src/main/resources/mapper/generator/QueryMapper.xml b/hchyun/hchyun-generator/src/main/resources/mapper/generator/QueryMapper.xml index 38d88e1..ee37d7c 100644 --- a/hchyun/hchyun-generator/src/main/resources/mapper/generator/QueryMapper.xml +++ b/hchyun/hchyun-generator/src/main/resources/mapper/generator/QueryMapper.xml @@ -34,16 +34,16 @@ - delete from sys_uni_con where uq_id = #{uqId} + delete from gen_uni_con where uq_id = #{uqId} - insert into sys_uni_con(uq_id,uc_name,uc_key,uc_con,uc_mock,uc_describe,uc_type,type) values + insert into gen_uni_con(uq_id,uc_name,uc_key,uc_con,uc_mock,uc_describe,uc_type,type) values (#{item.uqId},#{item.ucName},#{item.ucKey},#{item.ucCon},#{item.ucMock},#{item.ucDescribe},#{item.ucType},#{item.type}) diff --git a/hchyun/hchyun-system/src/main/resources/mapper/system/UniQueryMapper.xml b/hchyun/hchyun-generator/src/main/resources/mapper/generator/UniQueryMapper.xml similarity index 94% rename from hchyun/hchyun-system/src/main/resources/mapper/system/UniQueryMapper.xml rename to hchyun/hchyun-generator/src/main/resources/mapper/generator/UniQueryMapper.xml index 39e018e..9064464 100644 --- a/hchyun/hchyun-system/src/main/resources/mapper/system/UniQueryMapper.xml +++ b/hchyun/hchyun-generator/src/main/resources/mapper/generator/UniQueryMapper.xml @@ -17,7 +17,7 @@ - select id, uq_name, uq_sql, uq_describe, create_by, create_time, update_by, update_time from sys_uni_query + select id, uq_name, uq_sql, uq_describe, create_by, create_time, update_by, update_time from gen_uni_query - insert into sys_uni_query + insert into gen_uni_query uq_name, uq_sql, @@ -53,7 +53,7 @@ - update sys_uni_query + update gen_uni_query uq_name = #{uqName}, uq_sql = #{uqSql}, @@ -65,11 +65,11 @@ - delete from sys_uni_query where id = #{id} + delete from gen_uni_query where id = #{id} - delete from sys_uni_query where id in + delete from gen_uni_query where id in #{id}