ry_community_20220920.sql 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561
  1. -- ----------------------------
  2. -- Table structure for che_addr_building
  3. -- ----------------------------
  4. DROP TABLE IF EXISTS `che_addr_building`;
  5. CREATE TABLE `che_addr_building` (
  6. `building_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '楼栋Id',
  7. `number` varchar(10) DEFAULT NULL COMMENT '楼栋编号',
  8. `linkman` varchar(45) DEFAULT NULL COMMENT '联系人',
  9. `phone` varchar(20) DEFAULT NULL COMMENT '手机号',
  10. `estate_id` bigint(20) DEFAULT NULL COMMENT '所属小区',
  11. `dept_id` bigint(20) DEFAULT NULL COMMENT '所属网格',
  12. PRIMARY KEY (`building_id`)
  13. ) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4;
  14. -- ----------------------------
  15. -- Table structure for che_addr_estate
  16. -- ----------------------------
  17. DROP TABLE IF EXISTS `che_addr_estate`;
  18. CREATE TABLE `che_addr_estate` (
  19. `estate_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '小区Id',
  20. `name` varchar(45) DEFAULT NULL COMMENT '小区名称',
  21. `linkman` varchar(45) DEFAULT NULL COMMENT '联系人',
  22. `phone` varchar(20) DEFAULT NULL COMMENT '手机号',
  23. `dept_id` bigint(20) DEFAULT NULL COMMENT '所属社区',
  24. PRIMARY KEY (`estate_id`)
  25. ) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4;
  26. -- ----------------------------
  27. -- Table structure for che_addr_house
  28. -- ----------------------------
  29. DROP TABLE IF EXISTS `che_addr_house`;
  30. CREATE TABLE `che_addr_house` (
  31. `house_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '住宅Id',
  32. `unit` varchar(10) DEFAULT NULL COMMENT '单元',
  33. `floor` int(11) DEFAULT NULL COMMENT '楼层',
  34. `number` varchar(10) DEFAULT NULL COMMENT '门牌号',
  35. `building_id` bigint(20) DEFAULT NULL COMMENT '所属楼栋',
  36. `estate_id` bigint(20) DEFAULT NULL COMMENT '所属小区',
  37. `dept_id` bigint(20) DEFAULT NULL COMMENT '所属网格',
  38. PRIMARY KEY (`house_id`)
  39. ) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4;
  40. -- ----------------------------
  41. -- Table structure for che_nat_log
  42. -- ----------------------------
  43. DROP TABLE IF EXISTS `che_nat_log`;
  44. CREATE TABLE `che_nat_log` (
  45. `nat_log_id` bigint(20) NOT NULL AUTO_INCREMENT,
  46. `nat_task_id` bigint(20) DEFAULT NULL COMMENT '检测任务id',
  47. `resident_id` varchar(45) DEFAULT NULL COMMENT '居民id',
  48. `name` varchar(45) DEFAULT NULL COMMENT '姓名',
  49. `house_id` bigint(20) DEFAULT NULL COMMENT '住址id',
  50. `building_number` varchar(16) DEFAULT NULL COMMENT '楼栋编号',
  51. `estate_name` varchar(45) DEFAULT NULL COMMENT '小区名称',
  52. `grid_name` varchar(30) DEFAULT NULL COMMENT '网格编号',
  53. `community_name` varchar(30) DEFAULT NULL COMMENT '社区名称',
  54. `phone` varchar(16) DEFAULT NULL COMMENT '手机号',
  55. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  56. `status` varchar(20) DEFAULT NULL COMMENT '状态',
  57. `remark` varchar(128) DEFAULT NULL COMMENT '备注',
  58. PRIMARY KEY (`nat_log_id`)
  59. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  60. -- ----------------------------
  61. -- Table structure for che_nat_task
  62. -- ----------------------------
  63. DROP TABLE IF EXISTS `che_nat_task`;
  64. CREATE TABLE `che_nat_task` (
  65. `nat_task_id` bigint(20) NOT NULL AUTO_INCREMENT,
  66. `name` varchar(45) DEFAULT NULL COMMENT '任务名称',
  67. `start_time` datetime DEFAULT NULL COMMENT '开始时间',
  68. `end_time` datetime DEFAULT NULL COMMENT '结束时间',
  69. `status` varchar(20) DEFAULT NULL COMMENT '任务状态',
  70. `detail` varchar(256) DEFAULT NULL COMMENT '任务详情',
  71. `remark` varchar(128) DEFAULT NULL COMMENT '备注',
  72. PRIMARY KEY (`nat_task_id`)
  73. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  74. -- ----------------------------
  75. -- Table structure for che_resident
  76. -- ----------------------------
  77. DROP TABLE IF EXISTS `che_resident`;
  78. CREATE TABLE `che_resident` (
  79. `resident_id` varchar(45) NOT NULL COMMENT '居民Id',
  80. `name` varchar(45) DEFAULT NULL COMMENT '姓名',
  81. `sex` int(11) DEFAULT NULL COMMENT '性别',
  82. `birthday` varchar(16) DEFAULT NULL COMMENT '出生年月',
  83. `phone` varchar(20) DEFAULT NULL COMMENT '手机号',
  84. `house_id` bigint(20) DEFAULT NULL COMMENT '住址',
  85. `applicant_id` varchar(45) DEFAULT NULL COMMENT '申请人ID',
  86. `entrusted` int(11) DEFAULT NULL COMMENT '是否代领',
  87. `dept_id` bigint(20) DEFAULT NULL COMMENT '所属部门',
  88. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  89. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  90. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  91. `delete_flag` int(11) DEFAULT 0 COMMENT '删除标识',
  92. PRIMARY KEY (`resident_id`)
  93. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  94. -- ----------------------------
  95. -- Table structure for che_resident_req
  96. -- ----------------------------
  97. DROP TABLE IF EXISTS `che_resident_req`;
  98. CREATE TABLE `che_resident_req` (
  99. `resident_req_id` varchar(45) NOT NULL COMMENT '申请Id',
  100. `applicant_id` varchar(45) DEFAULT NULL COMMENT '申请人Id',
  101. `name` varchar(45) DEFAULT NULL COMMENT '姓名',
  102. `sex` int(11) DEFAULT NULL COMMENT '性别',
  103. `birthday` varchar(16) DEFAULT NULL COMMENT '出生年月',
  104. `phone` varchar(20) DEFAULT NULL COMMENT '手机号',
  105. `house_id` bigint(20) DEFAULT NULL COMMENT '住宅Id',
  106. `dept_id` bigint(20) DEFAULT NULL COMMENT '所属部门',
  107. `req_type` varchar(16) DEFAULT NULL COMMENT '申请类型',
  108. `req_status` varchar(16) DEFAULT NULL COMMENT '申请状态',
  109. `reject_reason` varchar(128) DEFAULT NULL COMMENT '拒绝原因',
  110. `entrusted` int(11) DEFAULT NULL COMMENT '是否代领',
  111. `resident_id` varchar(45) DEFAULT NULL COMMENT '居民ID',
  112. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  113. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  114. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  115. PRIMARY KEY (`resident_req_id`)
  116. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  117. -- ----------------------------
  118. -- Table structure for biz_user
  119. -- ----------------------------
  120. DROP TABLE IF EXISTS `biz_user`;
  121. CREATE TABLE `biz_user` (
  122. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  123. `name` varchar(45) DEFAULT NULL COMMENT '姓名',
  124. `sex` int(11) DEFAULT NULL COMMENT '性别',
  125. `birthday` varchar(16) DEFAULT NULL COMMENT '出生年月',
  126. `phone` varchar(20) NOT NULL COMMENT '手机号',
  127. `openid` varchar(45) NOT NULL COMMENT '微信OpenId',
  128. `resident_id` varchar(45) DEFAULT NULL COMMENT '居民ID',
  129. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  130. `update_time` datetime DEFAULT NULL COMMENT '修改时间',
  131. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  132. PRIMARY KEY (`user_id`)
  133. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  134. -- ----------------------------
  135. -- Table structure for che_rel_user_resident
  136. -- ----------------------------
  137. DROP TABLE IF EXISTS `che_rel_user_resident`;
  138. CREATE TABLE `che_rel_user_resident` (
  139. `rel_user_resident_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '关联ID',
  140. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  141. `resident_id` varchar(45) NOT NULL COMMENT '居民Id',
  142. `entrusted` int(11) DEFAULT NULL COMMENT '是否代领',
  143. PRIMARY KEY (`rel_user_resident_id`)
  144. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  145. -- ----------------------------
  146. -- Table structure for che_activity
  147. -- ----------------------------
  148. DROP TABLE IF EXISTS `che_activity`;
  149. CREATE TABLE `che_activity` (
  150. `activity_id` varchar(45) NOT NULL COMMENT '活动Id',
  151. `topic` varchar(128) DEFAULT NULL COMMENT '主题',
  152. `type` varchar(45) DEFAULT NULL COMMENT '类型:文体、民生、志愿、直播',
  153. `image` varchar(256) DEFAULT NULL COMMENT '宣传图片路径',
  154. `start_time` datetime DEFAULT NULL COMMENT '活动开始时间',
  155. `end_time` datetime DEFAULT NULL COMMENT '活动结束时间',
  156. `reg_start_time` datetime DEFAULT NULL COMMENT '报名开始时间',
  157. `reg_end_time` datetime DEFAULT NULL COMMENT '报名截止时间',
  158. `reg_max_count` int(11) DEFAULT NULL COMMENT '报名人数限制',
  159. `sponsor_type` varchar(45) DEFAULT NULL COMMENT '发起人类型:社区、用户',
  160. `sponsor_sys_id` varchar(45) DEFAULT NULL COMMENT '社区发起人Id',
  161. `sponsor_user_id` bigint(20) DEFAULT NULL COMMENT '用户发起人Id',
  162. `sponsor_name` varchar(128) DEFAULT NULL COMMENT '发起者',
  163. `sponsor_phone` varchar(20) DEFAULT NULL COMMENT '联系电话',
  164. `description` longblob COMMENT '内容',
  165. `status` varchar(16) DEFAULT NULL COMMENT '活动状态',
  166. `point` int(11) DEFAULT NULL COMMENT '奖励积分',
  167. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  168. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  169. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  170. PRIMARY KEY (`activity_id`)
  171. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  172. -- ----------------------------
  173. -- Table structure for che_activity_log
  174. -- ----------------------------
  175. DROP TABLE IF EXISTS `che_activity_log`;
  176. CREATE TABLE `che_activity_log` (
  177. `activity_log_id` varchar(45) NOT NULL COMMENT '活动记录Id',
  178. `activity_id` varchar(45) NOT NULL COMMENT '活动Id',
  179. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  180. `checkin_status` varchar(16) DEFAULT NULL COMMENT '签到状态:未签到,已签到',
  181. `point_status` varchar(16) DEFAULT NULL COMMENT '积分发放状态:未发放,已发放',
  182. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  183. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  184. PRIMARY KEY (`activity_log_id`)
  185. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  186. -- ----------------------------
  187. -- Table structure for che_activity_photo
  188. -- ----------------------------
  189. DROP TABLE IF EXISTS `che_activity_photo`;
  190. CREATE TABLE `che_activity_photo` (
  191. `activity_photo_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '活动图片Id',
  192. `activity_log_id` varchar(45) NOT NULL COMMENT '活动记录Id',
  193. `photo` varchar(256) NOT NULL COMMENT '图片路径',
  194. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  195. PRIMARY KEY (`activity_photo_id`)
  196. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  197. -- ----------------------------
  198. -- Table structure for che_points
  199. -- ----------------------------
  200. DROP TABLE IF EXISTS `che_points`;
  201. CREATE TABLE `che_points` (
  202. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  203. `honor_points` int(11) DEFAULT NULL COMMENT '荣誉积分',
  204. `spend_points` int(11) DEFAULT NULL COMMENT '消费积分',
  205. PRIMARY KEY (`user_id`)
  206. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  207. -- ----------------------------
  208. -- Table structure for che_points_log
  209. -- ----------------------------
  210. DROP TABLE IF EXISTS `che_points_log`;
  211. CREATE TABLE `che_points_log` (
  212. `points_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  213. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  214. `change_type` varchar(45) NOT NULL COMMENT '变更类型:增加,减少',
  215. `change_points` int(11) NOT NULL COMMENT '变更数值',
  216. `change_reason` varchar(128) NOT NULL COMMENT '变更原因',
  217. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  218. `relation_id` varchar(45) DEFAULT NULL COMMENT '变更事件关联Id',
  219. PRIMARY KEY (`points_log_id`)
  220. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  221. -- ----------------------------
  222. -- Table structure for che_dangyuan
  223. -- ----------------------------
  224. DROP TABLE IF EXISTS `che_dangyuan`;
  225. CREATE TABLE `che_dangyuan` (
  226. `dangyuan_id` varchar(45) NOT NULL COMMENT '党员Id',
  227. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  228. `name` varchar(45) DEFAULT NULL COMMENT '姓名',
  229. `sex` int(11) DEFAULT NULL COMMENT '性别',
  230. `dept_id` bigint(20) DEFAULT NULL COMMENT '报到社区',
  231. `work_unit` varchar(256) DEFAULT NULL COMMENT '工作单位',
  232. `report_location` varchar(256) DEFAULT NULL COMMENT '报道位置',
  233. `report_type` varchar(45) DEFAULT NULL COMMENT '报道类别',
  234. `residence` varchar(256) DEFAULT NULL COMMENT '居住地',
  235. `phone` varchar(20) DEFAULT NULL COMMENT '联系方式',
  236. `content` varchar(256) DEFAULT NULL COMMENT '服务内容',
  237. `video_path` varchar(256) DEFAULT NULL COMMENT '影像资料',
  238. `status` int(11) DEFAULT NULL COMMENT '当前状态',
  239. `reject_reason` varchar(128) DEFAULT NULL COMMENT '驳回原因',
  240. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  241. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  242. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  243. PRIMARY KEY (`dangyuan_id`)
  244. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  245. -- ----------------------------
  246. -- Table structure for che_xiachenganbu
  247. -- ----------------------------
  248. DROP TABLE IF EXISTS `che_xiachenganbu`;
  249. CREATE TABLE `che_xiachenganbu` (
  250. `xiachenganbu_id` varchar(45) NOT NULL COMMENT '下沉干部Id',
  251. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  252. `name` varchar(45) DEFAULT NULL COMMENT '姓名',
  253. `sex` int(11) DEFAULT NULL COMMENT '性别',
  254. `dept_id` bigint(20) DEFAULT NULL COMMENT '报到社区',
  255. `work_unit` varchar(256) DEFAULT NULL COMMENT '工作单位',
  256. `baobaoloudong` varchar(256) DEFAULT NULL COMMENT '包保楼栋',
  257. `phone` varchar(20) DEFAULT NULL COMMENT '联系方式',
  258. `jianrensanzhang` int(11) DEFAULT NULL COMMENT '是否兼任三长',
  259. `status` int(11) DEFAULT NULL COMMENT '当前状态',
  260. `reject_reason` varchar(128) DEFAULT NULL COMMENT '驳回原因',
  261. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  262. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  263. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  264. PRIMARY KEY (`xiachenganbu_id`)
  265. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  266. -- ----------------------------
  267. -- Table structure for che_recruit
  268. -- ----------------------------
  269. DROP TABLE IF EXISTS `che_recruit`;
  270. CREATE TABLE `che_recruit` (
  271. `recruit_id` varchar(45) NOT NULL COMMENT '招募信息Id',
  272. `topic` varchar(128) DEFAULT NULL COMMENT '主题',
  273. `content` longblob COMMENT '内容',
  274. `count` int(11) DEFAULT NULL COMMENT '计划招募人数',
  275. `sponsor_name` varchar(128) DEFAULT NULL COMMENT '发起者',
  276. `sponsor_phone` varchar(20) DEFAULT NULL COMMENT '联系电话',
  277. `start_time` datetime DEFAULT NULL COMMENT '活动开始时间',
  278. `end_time` datetime DEFAULT NULL COMMENT '活动结束时间',
  279. `status` varchar(16) DEFAULT NULL COMMENT '状态',
  280. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  281. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  282. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  283. PRIMARY KEY (`recruit_id`)
  284. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  285. -- ----------------------------
  286. -- Table structure for che_recruit_log
  287. -- ----------------------------
  288. DROP TABLE IF EXISTS `che_recruit_log`;
  289. CREATE TABLE `che_recruit_log` (
  290. `recruit_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '招募记录Id',
  291. `recruit_id` varchar(45) NOT NULL COMMENT '招募信息Id',
  292. `user_id` varchar(45) NOT NULL COMMENT '报名用户Id',
  293. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  294. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  295. `remark` varchar(45) DEFAULT NULL COMMENT '备注',
  296. PRIMARY KEY (`recruit_log_id`)
  297. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  298. -- ----------------------------
  299. -- Table structure for che_dangjian_clockin
  300. -- ----------------------------
  301. DROP TABLE IF EXISTS `che_dangjian_clockin`;
  302. CREATE TABLE `che_dangjian_clockin` (
  303. `dangjian_clockin_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  304. `user_id` varchar(45) NOT NULL COMMENT '用户Id',
  305. `dept_id` bigint(20) DEFAULT NULL COMMENT '签到社区',
  306. `description` varchar(256) DEFAULT NULL COMMENT '服务内容',
  307. `photo` varchar(256) NOT NULL COMMENT '图片路径',
  308. `clockin_time` datetime DEFAULT NULL COMMENT '签到时间',
  309. PRIMARY KEY (`dangjian_clockin_id`)
  310. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  311. delimiter $$
  312. DROP TRIGGER IF EXISTS `tri_building_update` $$
  313. CREATE TRIGGER `tri_building_update` AFTER UPDATE ON `che_addr_building` FOR EACH ROW
  314. BEGIN
  315. UPDATE che_addr_house SET dept_id = NEW.dept_id where building_id = NEW.building_id;
  316. END $$
  317. delimiter;
  318. --
  319. -- -- ----------------------------
  320. -- -- Insert data for sys_menu
  321. -- -- ----------------------------
  322. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3000,'社区管理',0,3,'community',NULL,NULL,1,0,'M','0','0','','international','admin','2022-09-19 09:45:32','admin','2022-09-19 09:51:28','');
  323. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3001,'地址管理',3000,1,'addr',NULL,NULL,1,0,'M','0','0','','tree-table','admin','2022-09-19 09:45:45','admin','2022-09-19 09:53:03','');
  324. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3002,'居民管理',3000,2,'resident',NULL,NULL,1,0,'M','0','0','','peoples','admin','2022-09-19 09:45:59','admin','2022-09-19 09:51:59','');
  325. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3003,'检测任务',3000,3,'nat',NULL,NULL,1,0,'M','0','0','','list','admin','2022-09-19 09:46:15','admin','2022-09-19 09:52:14','');
  326. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3004,'小区管理',3001,1,'estate','community/estate/index',NULL,1,0,'C','0','0','community:estate:list','#','admin','2022-09-19 09:47:09','',NULL,'');
  327. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3016,'楼栋管理',3001,2,'building','community/building/index',NULL,1,0,'C','0','0','community:building:list','#','admin','2022-09-20 08:09:42','admin','2022-09-21 07:52:33','楼栋管理菜单');
  328. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3005,'住宅管理',3001,3,'house','community/house/index',NULL,1,0,'C','0','0','community:house:list','#','admin','2022-09-19 09:47:48','admin','2022-09-21 07:52:43','');
  329. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3006,'居民信息',3002,1,'resident','community/resident/index',NULL,1,0,'C','0','0','community:resident:list','#','admin','2022-09-19 09:48:57','',NULL,'');
  330. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3007,'审核申请',3002,2,'req','community/req/index',NULL,1,0,'C','0','0','community:req:list','#','admin','2022-09-19 09:49:34','',NULL,'');
  331. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3008,'任务管理',3003,1,'task','community/task/index',NULL,1,0,'C','0','0','community:task:list','#','admin','2022-09-19 09:50:04','',NULL,'');
  332. -- INSERT INTO `sys_menu` (`menu_id`,`menu_name`,`parent_id`,`order_num`,`path`,`component`,`query`,`is_frame`,`is_cache`,`menu_type`,`visible`,`status`,`perms`,`icon`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) VALUES (3009,'检测记录',3003,2,'log','community/log/index',NULL,1,0,'C','0','0','community:log:list','#','admin','2022-09-19 09:50:49','',NULL,'');
  333. --
  334. -- -- ----------------------------
  335. -- -- Insert data for estateMenu
  336. -- -- ----------------------------
  337. -- -- 菜单 SQL
  338. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  339. -- values('小区管理', '3004', '1', 'estate', 'community/estate/index', 1, 0, 'C', '0', '0', 'community:estate:list', '#', 'admin', sysdate(), '', null, '小区管理菜单');
  340. --
  341. -- -- 按钮父菜单ID
  342. -- SELECT @parentId := LAST_INSERT_ID();
  343. --
  344. -- -- 按钮 SQL
  345. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  346. -- values('小区管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:estate:query', '#', 'admin', sysdate(), '', null, '');
  347. --
  348. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  349. -- values('小区管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:estate:add', '#', 'admin', sysdate(), '', null, '');
  350. --
  351. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  352. -- values('小区管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:estate:edit', '#', 'admin', sysdate(), '', null, '');
  353. --
  354. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  355. -- values('小区管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:estate:remove', '#', 'admin', sysdate(), '', null, '');
  356. --
  357. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  358. -- values('小区管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:estate:export', '#', 'admin', sysdate(), '', null, '');
  359. --
  360. --
  361. -- -- ----------------------------
  362. -- -- Insert data for buildingMenu
  363. -- -- ----------------------------
  364. -- -- 菜单 SQL
  365. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  366. -- values('楼栋管理', '3004', '1', 'building', 'community/building/index', 1, 0, 'C', '0', '0', 'community:building:list', '#', 'admin', sysdate(), '', null, '楼栋管理菜单');
  367. --
  368. -- -- 按钮父菜单ID
  369. -- SELECT @parentId := LAST_INSERT_ID();
  370. --
  371. -- -- 按钮 SQL
  372. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  373. -- values('楼栋管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:building:query', '#', 'admin', sysdate(), '', null, '');
  374. --
  375. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  376. -- values('楼栋管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:building:add', '#', 'admin', sysdate(), '', null, '');
  377. --
  378. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  379. -- values('楼栋管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:building:edit', '#', 'admin', sysdate(), '', null, '');
  380. --
  381. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  382. -- values('楼栋管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:building:remove', '#', 'admin', sysdate(), '', null, '');
  383. --
  384. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  385. -- values('楼栋管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:building:export', '#', 'admin', sysdate(), '', null, '');
  386. --
  387. -- -- ----------------------------
  388. -- -- Insert data for houseMenu
  389. -- -- ----------------------------
  390. -- -- 菜单 SQL
  391. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  392. -- values('住宅管理', '3005', '1', 'house', 'community/house/index', 1, 0, 'C', '0', '0', 'community:house:list', '#', 'admin', sysdate(), '', null, '住宅管理菜单');
  393. --
  394. -- -- 按钮父菜单ID
  395. -- SELECT @parentId := LAST_INSERT_ID();
  396. --
  397. -- -- 按钮 SQL
  398. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  399. -- values('住宅管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:house:query', '#', 'admin', sysdate(), '', null, '');
  400. --
  401. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  402. -- values('住宅管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:house:add', '#', 'admin', sysdate(), '', null, '');
  403. --
  404. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  405. -- values('住宅管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:house:edit', '#', 'admin', sysdate(), '', null, '');
  406. --
  407. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  408. -- values('住宅管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:house:remove', '#', 'admin', sysdate(), '', null, '');
  409. --
  410. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  411. -- values('住宅管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:house:export', '#', 'admin', sysdate(), '', null, '');
  412. --
  413. -- -- ----------------------------
  414. -- -- Insert data for residentMenu
  415. -- -- ----------------------------
  416. -- -- 菜单 SQL
  417. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  418. -- values('居民信息管理', '3006', '1', 'resident', 'community/resident/index', 1, 0, 'C', '0', '0', 'community:resident:list', '#', 'admin', sysdate(), '', null, '居民信息管理菜单');
  419. --
  420. -- -- 按钮父菜单ID
  421. -- SELECT @parentId := LAST_INSERT_ID();
  422. --
  423. -- -- 按钮 SQL
  424. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  425. -- values('居民信息管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:resident:query', '#', 'admin', sysdate(), '', null, '');
  426. --
  427. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  428. -- values('居民信息管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:resident:add', '#', 'admin', sysdate(), '', null, '');
  429. --
  430. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  431. -- values('居民信息管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:resident:edit', '#', 'admin', sysdate(), '', null, '');
  432. --
  433. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  434. -- values('居民信息管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:resident:remove', '#', 'admin', sysdate(), '', null, '');
  435. --
  436. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  437. -- values('居民信息管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:resident:export', '#', 'admin', sysdate(), '', null, '');
  438. --
  439. -- -- ----------------------------
  440. -- -- Insert data for reqMenu
  441. -- -- ----------------------------
  442. -- -- 菜单 SQL
  443. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  444. -- values('审核申请', '3007', '1', 'req', 'community/req/index', 1, 0, 'C', '0', '0', 'community:req:list', '#', 'admin', sysdate(), '', null, '审核申请菜单');
  445. --
  446. -- -- 按钮父菜单ID
  447. -- SELECT @parentId := LAST_INSERT_ID();
  448. --
  449. -- -- 按钮 SQL
  450. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  451. -- values('审核申请查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:req:query', '#', 'admin', sysdate(), '', null, '');
  452. --
  453. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  454. -- values('审核申请新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:req:add', '#', 'admin', sysdate(), '', null, '');
  455. --
  456. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  457. -- values('审核申请修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:req:edit', '#', 'admin', sysdate(), '', null, '');
  458. --
  459. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  460. -- values('审核申请删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:req:remove', '#', 'admin', sysdate(), '', null, '');
  461. --
  462. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  463. -- values('审核申请导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:req:export', '#', 'admin', sysdate(), '', null, '');
  464. --
  465. -- -- ----------------------------
  466. -- -- Insert data for wechatMenu
  467. -- -- ----------------------------
  468. -- -- 菜单 SQL
  469. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  470. -- values('微信信息管理', '3002', '1', 'wechat', 'community/wechat/index', 1, 0, 'C', '0', '0', 'community:wechat:list', '#', 'admin', sysdate(), '', null, '微信信息管理菜单');
  471. --
  472. -- -- 按钮父菜单ID
  473. -- SELECT @parentId := LAST_INSERT_ID();
  474. --
  475. -- -- 按钮 SQL
  476. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  477. -- values('微信信息管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:wechat:query', '#', 'admin', sysdate(), '', null, '');
  478. --
  479. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  480. -- values('微信信息管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:wechat:add', '#', 'admin', sysdate(), '', null, '');
  481. --
  482. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  483. -- values('微信信息管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:wechat:edit', '#', 'admin', sysdate(), '', null, '');
  484. --
  485. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  486. -- values('微信信息管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:wechat:remove', '#', 'admin', sysdate(), '', null, '');
  487. --
  488. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  489. -- values('微信信息管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:wechat:export', '#', 'admin', sysdate(), '', null, '');
  490. --
  491. -- -- ----------------------------
  492. -- -- Insert data for taskMenu
  493. -- -- ----------------------------
  494. -- -- 菜单 SQL
  495. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  496. -- values('检测任务管理', '3008', '1', 'task', 'community/task/index', 1, 0, 'C', '0', '0', 'community:task:list', '#', 'admin', sysdate(), '', null, '检测任务管理菜单');
  497. --
  498. -- -- 按钮父菜单ID
  499. -- SELECT @parentId := LAST_INSERT_ID();
  500. --
  501. -- -- 按钮 SQL
  502. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  503. -- values('检测任务管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:task:query', '#', 'admin', sysdate(), '', null, '');
  504. --
  505. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  506. -- values('检测任务管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:task:add', '#', 'admin', sysdate(), '', null, '');
  507. --
  508. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  509. -- values('检测任务管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:task:edit', '#', 'admin', sysdate(), '', null, '');
  510. --
  511. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  512. -- values('检测任务管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:task:remove', '#', 'admin', sysdate(), '', null, '');
  513. --
  514. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  515. -- values('检测任务管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:task:export', '#', 'admin', sysdate(), '', null, '');
  516. --
  517. -- -- ----------------------------
  518. -- -- Insert data for logMenu
  519. -- -- ----------------------------
  520. -- -- 菜单 SQL
  521. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  522. -- values('检测日志管理', '3009', '1', 'log', 'community/log/index', 1, 0, 'C', '0', '0', 'community:log:list', '#', 'admin', sysdate(), '', null, '检测日志管理菜单');
  523. --
  524. -- -- 按钮父菜单ID
  525. -- SELECT @parentId := LAST_INSERT_ID();
  526. --
  527. -- -- 按钮 SQL
  528. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  529. -- values('检测日志管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'community:log:query', '#', 'admin', sysdate(), '', null, '');
  530. --
  531. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  532. -- values('检测日志管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'community:log:add', '#', 'admin', sysdate(), '', null, '');
  533. --
  534. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  535. -- values('检测日志管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'community:log:edit', '#', 'admin', sysdate(), '', null, '');
  536. --
  537. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  538. -- values('检测日志管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'community:log:remove', '#', 'admin', sysdate(), '', null, '');
  539. --
  540. -- insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  541. -- values('检测日志管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'community:log:export', '#', 'admin', sysdate(), '', null, '');