oracle.sql 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. CREATE TABLE gen_datasource (
  2. id NUMBER(20, 0) NOT NULL,
  3. db_type varchar2(200),
  4. conn_name varchar2(200),
  5. conn_url varchar2(500),
  6. username varchar2(200),
  7. password varchar2(200),
  8. status NUMBER(2, 0),
  9. create_date date,
  10. primary key (id)
  11. );
  12. COMMENT ON TABLE gen_datasource IS '数据源管理';
  13. COMMENT ON COLUMN gen_datasource.id IS 'id';
  14. COMMENT ON COLUMN gen_datasource.db_type IS '数据库类型 MySQL、Oracle、SQLServer、PostgreSQL';
  15. COMMENT ON COLUMN gen_datasource.conn_name IS '连接名';
  16. COMMENT ON COLUMN gen_datasource.conn_url IS 'URL';
  17. COMMENT ON COLUMN gen_datasource.username IS '用户名';
  18. COMMENT ON COLUMN gen_datasource.password IS '密码';
  19. COMMENT ON COLUMN gen_datasource.status IS '状态 0:启用 1:禁用';
  20. COMMENT ON COLUMN gen_datasource.create_date IS '创建时间';
  21. CREATE TABLE gen_field_type (
  22. id NUMBER(20, 0) NOT NULL,
  23. column_type varchar2(200),
  24. attr_type varchar2(200),
  25. package_name varchar2(200),
  26. create_date date,
  27. primary key (id)
  28. );
  29. CREATE UNIQUE INDEX uk_gen_field_type_column_type on gen_field_type(column_type);
  30. COMMENT ON TABLE gen_field_type IS '字段类型管理';
  31. COMMENT ON COLUMN gen_field_type.id IS 'id';
  32. COMMENT ON COLUMN gen_field_type.column_type IS '字段类型';
  33. COMMENT ON COLUMN gen_field_type.attr_type IS '属性类型';
  34. COMMENT ON COLUMN gen_field_type.package_name IS '属性包名';
  35. COMMENT ON COLUMN gen_field_type.create_date IS '创建时间';
  36. CREATE TABLE gen_base_class (
  37. id NUMBER(20, 0) NOT NULL,
  38. package_name varchar2(200),
  39. code varchar2(200),
  40. fields varchar2(200),
  41. remark varchar2(200),
  42. create_date date,
  43. primary key (id)
  44. );
  45. COMMENT ON TABLE gen_base_class IS '基类管理';
  46. COMMENT ON COLUMN gen_base_class.id IS 'id';
  47. COMMENT ON COLUMN gen_base_class.package_name IS '基类包名';
  48. COMMENT ON COLUMN gen_base_class.code IS '基类编码';
  49. COMMENT ON COLUMN gen_base_class.fields IS '基类字段,多个用英文逗号分隔';
  50. COMMENT ON COLUMN gen_base_class.remark IS '备注';
  51. COMMENT ON COLUMN gen_base_class.create_date IS '创建时间';
  52. CREATE TABLE gen_table_info (
  53. id NUMBER(20, 0) NOT NULL,
  54. table_name varchar2(200),
  55. class_name varchar2(200),
  56. table_comment varchar2(200),
  57. author varchar2(200),
  58. email varchar2(200),
  59. package_name varchar2(200),
  60. version varchar2(200),
  61. backend_path varchar2(500),
  62. frontend_path varchar2(500),
  63. module_name varchar2(200),
  64. sub_module_name varchar2(200),
  65. datasource_id NUMBER(20, 0),
  66. baseclass_id NUMBER(20, 0),
  67. create_date date,
  68. primary key (id)
  69. );
  70. CREATE UNIQUE INDEX uk_gen_table_info_table_name on gen_table_info(table_name);
  71. COMMENT ON TABLE gen_table_info IS '代码生成表';
  72. COMMENT ON COLUMN gen_table_info.id IS 'id';
  73. COMMENT ON COLUMN gen_table_info.table_name IS '表名';
  74. COMMENT ON COLUMN gen_table_info.class_name IS '类名';
  75. COMMENT ON COLUMN gen_table_info.table_comment IS '功能名';
  76. COMMENT ON COLUMN gen_table_info.author IS '作者';
  77. COMMENT ON COLUMN gen_table_info.email IS '邮箱';
  78. COMMENT ON COLUMN gen_table_info.package_name IS '项目包名';
  79. COMMENT ON COLUMN gen_table_info.version IS '项目版本号';
  80. COMMENT ON COLUMN gen_table_info.backend_path IS '后端生成路径';
  81. COMMENT ON COLUMN gen_table_info.frontend_path IS '前端生成路径';
  82. COMMENT ON COLUMN gen_table_info.module_name IS '模块名';
  83. COMMENT ON COLUMN gen_table_info.sub_module_name IS '子模块名';
  84. COMMENT ON COLUMN gen_table_info.datasource_id IS '数据源ID';
  85. COMMENT ON COLUMN gen_table_info.baseclass_id IS '基类ID';
  86. COMMENT ON COLUMN gen_table_info.create_date IS '创建时间';
  87. CREATE TABLE gen_table_field (
  88. id NUMBER(20, 0) NOT NULL,
  89. table_id NUMBER(20, 0),
  90. table_name varchar2(200),
  91. column_name varchar2(200),
  92. column_type varchar2(200),
  93. column_comment varchar2(200),
  94. attr_name varchar2(200),
  95. attr_type varchar2(200),
  96. package_name varchar2(200),
  97. is_pk NUMBER(2, 0),
  98. is_required NUMBER(2, 0),
  99. is_form NUMBER(2, 0),
  100. is_list NUMBER(2, 0),
  101. is_query NUMBER(2, 0),
  102. query_type varchar2(200),
  103. form_type varchar2(200),
  104. dict_name varchar2(200),
  105. validator_type varchar2(200),
  106. sort NUMBER(10, 0),
  107. primary key (id)
  108. );
  109. CREATE INDEX idx_gen_table_field_table_name on gen_table_field(table_name);
  110. COMMENT ON TABLE gen_table_field IS '代码生成表列';
  111. COMMENT ON COLUMN gen_table_field.id IS 'id';
  112. COMMENT ON COLUMN gen_table_field.table_id IS '表ID';
  113. COMMENT ON COLUMN gen_table_field.table_name IS '表名';
  114. COMMENT ON COLUMN gen_table_field.column_name IS '列名';
  115. COMMENT ON COLUMN gen_table_field.column_type IS '类型';
  116. COMMENT ON COLUMN gen_table_field.column_comment IS '列说明';
  117. COMMENT ON COLUMN gen_table_field.attr_name IS '属性名';
  118. COMMENT ON COLUMN gen_table_field.attr_type IS '属性类型';
  119. COMMENT ON COLUMN gen_table_field.package_name IS '属性包名';
  120. COMMENT ON COLUMN gen_table_field.is_pk IS '是否主键 0:否 1:是';
  121. COMMENT ON COLUMN gen_table_field.is_required IS '是否必填 0:否 1:是';
  122. COMMENT ON COLUMN gen_table_field.is_form IS '是否表单字段 0:否 1:是';
  123. COMMENT ON COLUMN gen_table_field.is_list IS '是否列表字段 0:否 1:是';
  124. COMMENT ON COLUMN gen_table_field.is_query IS '是否查询字段 0:否 1:是';
  125. COMMENT ON COLUMN gen_table_field.query_type IS '查询方式';
  126. COMMENT ON COLUMN gen_table_field.form_type IS '表单类型';
  127. COMMENT ON COLUMN gen_table_field.dict_name IS '字典名称';
  128. COMMENT ON COLUMN gen_table_field.validator_type IS '效验方式';
  129. COMMENT ON COLUMN gen_table_field.sort IS '排序';
  130. CREATE TABLE gen_template (
  131. id NUMBER(20, 0) NOT NULL,
  132. name varchar2(200),
  133. file_name varchar2(200),
  134. content clob,
  135. path varchar2(500),
  136. status NUMBER(2, 0),
  137. create_date date,
  138. primary key (id)
  139. );
  140. COMMENT ON TABLE gen_template IS '模板管理';
  141. COMMENT ON COLUMN gen_template.id IS 'id';
  142. COMMENT ON COLUMN gen_template.name IS '名称';
  143. COMMENT ON COLUMN gen_template.file_name IS '文件名';
  144. COMMENT ON COLUMN gen_template.content IS '内容';
  145. COMMENT ON COLUMN gen_template.path IS '生成路径';
  146. COMMENT ON COLUMN gen_template.status IS '状态 0:启用 1:禁用';
  147. COMMENT ON COLUMN gen_template.create_date IS '创建时间';
  148. CREATE TABLE gen_test_data (
  149. id NUMBER(20, 0) NOT NULL,
  150. username varchar2(50),
  151. real_name varchar2(50),
  152. gender NUMBER(2, 0),
  153. email varchar2(100),
  154. notice_type NUMBER(2, 0),
  155. content clob,
  156. creator NUMBER(20, 0),
  157. create_date date,
  158. updater NUMBER(20, 0),
  159. update_date date,
  160. PRIMARY KEY (id)
  161. );
  162. COMMENT ON TABLE gen_test_data IS '测试功能';
  163. COMMENT ON COLUMN gen_test_data.id IS 'id';
  164. COMMENT ON COLUMN gen_test_data.username IS '用户名';
  165. COMMENT ON COLUMN gen_test_data.real_name IS '姓名';
  166. COMMENT ON COLUMN gen_test_data.gender IS '性别';
  167. COMMENT ON COLUMN gen_test_data.email IS '邮箱';
  168. COMMENT ON COLUMN gen_test_data.notice_type IS '类型';
  169. COMMENT ON COLUMN gen_test_data.content IS '内容';
  170. COMMENT ON COLUMN gen_test_data.creator IS '创建者';
  171. COMMENT ON COLUMN gen_test_data.create_date IS '创建时间';
  172. COMMENT ON COLUMN gen_test_data.updater IS '更新者';
  173. COMMENT ON COLUMN gen_test_data.update_date IS '更新时间';
  174. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1302850622416084993, 0, '', '', 0, 'icon-rocket', 3, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  175. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1302850783288614913, 1305532398162145281, 'devtools/datasource', '', 0, 'icon-sync', 0, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  176. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1302862890696564738, 1305532398162145281, 'devtools/fieldtype', '', 0, 'icon-eye', 1, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  177. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1302874751835848705, 1305532398162145281, 'devtools/baseclass', '', 0, 'icon-info-circle', 3, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  178. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1304081184014635010, 1305532398162145281, 'devtools/template', '', 0, 'icon-up-circle', 3, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  179. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1304802103569809410, 1302850622416084993, 'devtools/generator', '', 0, 'icon-tags', 0, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  180. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1305513187675144193, 1305532398162145281, 'devtools/param', '', 0, 'icon-setting', 5, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  181. INSERT INTO sys_menu(id, pid, url, permissions, type, icon, sort, creator, create_date, updater, update_date) VALUES (1305532398162145281, 1302850622416084993, '', '', 0, 'icon-setting', 3, 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  182. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302850622416084993, 'name', 'DevTools', 'en-US');
  183. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302850622416084993, 'name', '开发者工具', 'zh-CN');
  184. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302850622416084993, 'name', '開發者工具', 'zh-TW');
  185. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302850783288614913, 'name', 'DataSource', 'en-US');
  186. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302850783288614913, 'name', '数据源管理', 'zh-CN');
  187. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302850783288614913, 'name', '數據源管理', 'zh-TW');
  188. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302862890696564738, 'name', 'Field Management', 'en-US');
  189. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302862890696564738, 'name', '字段管理', 'zh-CN');
  190. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302862890696564738, 'name', '字段管理', 'zh-TW');
  191. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302874751835848705, 'name', 'BaseClass', 'en-US');
  192. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302874751835848705, 'name', '基类管理', 'zh-CN');
  193. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1302874751835848705, 'name', '基類管理', 'zh-TW');
  194. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1304081184014635010, 'name', 'Template', 'en-US');
  195. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1304081184014635010, 'name', '模板管理', 'zh-CN');
  196. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1304081184014635010, 'name', '模板管理', 'zh-TW');
  197. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1304802103569809410, 'name', 'Code Generation', 'en-US');
  198. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1304802103569809410, 'name', '代码生成工具', 'zh-CN');
  199. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1304802103569809410, 'name', '代碼生成工具', 'zh-TW');
  200. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1305513187675144193, 'name', 'Parameter Config', 'en-US');
  201. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1305513187675144193, 'name', '参数配置', 'zh-CN');
  202. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1305513187675144193, 'name', '參數配置', 'zh-TW');
  203. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1305532398162145281, 'name', 'Config Info', 'en-US');
  204. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1305532398162145281, 'name', '配置信息', 'zh-CN');
  205. INSERT INTO sys_language(table_name, table_id, field_name, field_value, language) VALUES ('sys_menu', 1305532398162145281, 'name', '配置信息', 'zh-TW');
  206. INSERT INTO sys_params(id, param_code, param_value, param_type, remark, creator, create_date, updater, update_date) VALUES (1067246875800000072, 'DEV_TOOLS_PARAM_KEY', '{"packageName":"com.eitc","version":"3.0","author":"Mark","email":"eitc@163.com","backendPath":"D:\\adminio\\eitc-erm-tenant\\eitc-admin","frontendPath":"D:\\adminio\\eitc-erm-tenant-admin"}', 0, '代码生成器配置信息', 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);
  207. INSERT INTO gen_base_class(id, package_name, code, fields, remark, create_date) VALUES (1302875019642159105, '${package}.common.entity.BaseEntity', 'BaseEntity', 'id,creator,create_date', '专业版', CURRENT_DATE);
  208. INSERT INTO gen_datasource(id, db_type, conn_name, conn_url, username, password, status, create_date) VALUES (1302855887882412034, 'MySQL', '本地', 'jdbc:mysql://localhost:3306/security_enterprise?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true', 'admin', '123456', 0, CURRENT_DATE);
  209. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152452777352425473, 'datetime', 'Date', 'java.util.Date', CURRENT_DATE);
  210. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453412995002369, 'date', 'Date', 'java.util.Date', CURRENT_DATE);
  211. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453603525455873, 'tinyint', 'Integer', NULL, CURRENT_DATE);
  212. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453660052090881, 'smallint', 'Integer', NULL, CURRENT_DATE);
  213. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453722136178689, 'mediumint', 'Integer', NULL, CURRENT_DATE);
  214. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453808874385409, 'int', 'Integer', NULL, CURRENT_DATE);
  215. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453849735294977, 'integer', 'Integer', NULL, CURRENT_DATE);
  216. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453895029583873, 'bigint', 'Long', NULL, CURRENT_DATE);
  217. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453931373228033, 'float', 'Float', NULL, CURRENT_DATE);
  218. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152453967880450050, 'double', 'Double', NULL, CURRENT_DATE);
  219. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454047601586177, 'decimal', 'BigDecimal', 'java.math.BigDecimal', CURRENT_DATE);
  220. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454090760974338, 'bit', 'Boolean', NULL, CURRENT_DATE);
  221. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454147010785282, 'char', 'String', NULL, CURRENT_DATE);
  222. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454183136325633, 'varchar', 'String', NULL, CURRENT_DATE);
  223. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454312664821761, 'tinytext', 'String', NULL, CURRENT_DATE);
  224. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454343820111874, 'text', 'String', NULL, CURRENT_DATE);
  225. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454372077137921, 'mediumtext', 'String', NULL, CURRENT_DATE);
  226. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454401378545665, 'longtext', 'String', NULL, CURRENT_DATE);
  227. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454486267064322, 'timestamp', 'Date', 'java.util.Date', CURRENT_DATE);
  228. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454630295269378, 'NUMBER', 'Integer', NULL, CURRENT_DATE);
  229. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454715645161474, 'BINARY_INTEGER', 'Integer', NULL, CURRENT_DATE);
  230. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454778828156930, 'BINARY_FLOAT', 'Float', NULL, CURRENT_DATE);
  231. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454828987838466, 'BINARY_DOUBLE', 'Double', NULL, CURRENT_DATE);
  232. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454885745160193, 'VARCHAR2', 'String', NULL, CURRENT_DATE);
  233. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454919756771329, 'NVARCHAR', 'String', NULL, CURRENT_DATE);
  234. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454952568811521, 'NVARCHAR2', 'String', NULL, CURRENT_DATE);
  235. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152454986349735938, 'CLOB', 'String', NULL, CURRENT_DATE);
  236. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152455109695827970, 'int8', 'Long', NULL, CURRENT_DATE);
  237. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152455153002016770, 'int4', 'Integer', NULL, CURRENT_DATE);
  238. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152455184669011969, 'int2', 'Integer', NULL, CURRENT_DATE);
  239. INSERT INTO gen_field_type(id, column_type, attr_type, package_name, create_date) VALUES (1152455217359417345, 'numeric', 'BigDecimal', 'java.math.BigDecimal', CURRENT_DATE);
  240. INSERT INTO gen_table_info(id, table_name, class_name, table_comment, author, email, package_name, version, backend_path, frontend_path, module_name, sub_module_name, datasource_id, baseclass_id, create_date) VALUES (1308327671447859201, 'gen_test_data', 'TestData', '测试功能', 'Mark', 'eitc@163.com', 'com.eitc', '3.0', 'D:\\adminio\\eitc-erm-tenant\\eitc-admin', 'D:\\adminio\\eitc-erm-tenant-admin', 'gen', NULL, 0, 1302875019642159105, CURRENT_DATE);
  241. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671502385153, 1308327671447859201, 'gen_test_data', 'id', 'BIGINT', 'id', 'id', 'Long', NULL, 1, 0, 0, 0, 0, '=', 'text', NULL, NULL, 0);
  242. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671510773761, 1308327671447859201, 'gen_test_data', 'username', 'VARCHAR', '用户名', 'username', 'String', NULL, 0, 1, 1, 1, 1, 'like', 'text', NULL, NULL, 1);
  243. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671510773762, 1308327671447859201, 'gen_test_data', 'real_name', 'VARCHAR', '姓名', 'realName', 'String', NULL, 0, 1, 1, 1, 0, 'like', 'text', NULL, NULL, 2);
  244. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671510773763, 1308327671447859201, 'gen_test_data', 'gender', 'TINYINT', '性别', 'gender', 'Integer', NULL, 0, 1, 1, 1, 1, '=', 'select', 'gender', NULL, 3);
  245. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671510773764, 1308327671447859201, 'gen_test_data', 'email', 'VARCHAR', '邮箱', 'email', 'String', NULL, 0, 1, 1, 1, 0, '=', 'text', NULL, NULL, 4);
  246. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671514968065, 1308327671447859201, 'gen_test_data', 'notice_type', 'TINYINT', '类型', 'noticeType', 'Integer', NULL, 0, 1, 1, 1, 0, '=', 'radio', 'notice_type', NULL, 5);
  247. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671514968066, 1308327671447859201, 'gen_test_data', 'content', 'TEXT', '内容', 'content', 'String', NULL, 0, 1, 1, 0, 0, '=', 'editor', NULL, NULL, 6);
  248. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671514968067, 1308327671447859201, 'gen_test_data', 'creator', 'BIGINT', '创建者', 'creator', 'Long', NULL, 0, 0, 0, 0, 0, '=', 'text', NULL, NULL, 7);
  249. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671514968068, 1308327671447859201, 'gen_test_data', 'create_date', 'DATETIME', '创建时间', 'createDate', 'Date', 'java.util.Date', 0, 0, 0, 1, 1, '=', 'date', NULL, NULL, 8);
  250. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671514968069, 1308327671447859201, 'gen_test_data', 'updater', 'BIGINT', '更新者', 'updater', 'Long', NULL, 0, 0, 0, 0, 0, '=', 'text', NULL, NULL, 9);
  251. INSERT INTO gen_table_field(id, table_id, table_name, column_name, column_type, column_comment, attr_name, attr_type, package_name, is_pk, is_required, is_form, is_list, is_query, query_type, form_type, dict_name, validator_type, sort) VALUES (1308327671523356674, 1308327671447859201, 'gen_test_data', 'update_date', 'DATETIME', '更新时间', 'updateDate', 'Date', 'java.util.Date', 0, 0, 0, 0, 0, '=', 'text', NULL, NULL, 10);
  252. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1144564443498168321, 'Entity.java', '${ClassName}Entity.java', '', '${backendPath}/src/main/java/${packagePath}/modules/${moduleName}/entity/${subModuleName!}', 0, CURRENT_DATE);
  253. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1151104918417948674, 'Dao.java', '${ClassName}Dao.java', '', '${backendPath}/src/main/java/${packagePath}/modules/${moduleName}/dao/${subModuleName!}', 0, CURRENT_DATE);
  254. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1222102542519422977, 'Dao.xml', '${ClassName}Dao.xml', '', '${backendPath}/src/main/resources/mapper/${moduleName}', 0, CURRENT_DATE);
  255. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1222811087900602369, 'Service.java', '${ClassName}Service.java', '', '${backendPath}/src/main/java/${packagePath}/modules/${moduleName}/service/${subModuleName!}', 0, CURRENT_DATE);
  256. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1222811738672033793, 'ServiceImpl.java', '${ClassName}ServiceImpl.java', '', '${backendPath}/src/main/java/${packagePath}/modules/${moduleName}/service/${subModuleName!}/impl', 0, CURRENT_DATE);
  257. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1222814109661753346, 'Excel.java', '${ClassName}Excel.java', '', '${backendPath}/src/main/java/${packagePath}/modules/${moduleName}/excel/${subModuleName!}', 0, CURRENT_DATE);
  258. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1222816187301851138, 'DTO.java', '${ClassName}DTO.java', '', '${backendPath}/src/main/java/${packagePath}/modules/${moduleName}/dto/${subModuleName!}', 0, CURRENT_DATE);
  259. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1222817622663983106, 'Controller.java', '${ClassName}Controller.java', '', '${backendPath}/src/main/java/${packagePath}/modules/${moduleName}/controller/${subModuleName!}', 0, CURRENT_DATE);
  260. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1304292858898309122, 'list.vue', '${classname}.vue', '', '${frontendPath}/src/views/modules/${moduleName}', 0, CURRENT_DATE);
  261. INSERT INTO gen_template(id, name, file_name, content, path, status, create_date) VALUES (1304293015698169857, 'add-or-update.vue', '${classname}-add-or-update.vue', '', '${frontendPath}/src/views/modules/${moduleName}', 0, CURRENT_DATE);
  262. INSERT INTO gen_test_data(id, username, real_name, gender, email, notice_type, content, creator, create_date, updater, update_date) VALUES (1067246875800000001, 'sunlightcs', 'Mark', 0, 'root@admin.163.com', 0, '<p>智汇口腔代码生成器!</p>', 1067246875800000001, CURRENT_DATE, 1067246875800000001, CURRENT_DATE);