archives_save.sql 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. /*
  2. Navicat MariaDB Data Transfer
  3. Source Server : archives
  4. Source Server Version : 100032
  5. Source Host : 192.168.1.124:3307
  6. Source Database : archives_save
  7. Target Server Type : MariaDB
  8. Target Server Version : 100032
  9. File Encoding : 65001
  10. Date: 2018-04-03 16:07:43
  11. */
  12. SET FOREIGN_KEY_CHECKS=0;
  13. -- ----------------------------
  14. -- Table structure for save_backups_offline
  15. -- ----------------------------
  16. DROP TABLE IF EXISTS `save_backups_offline`;
  17. CREATE TABLE `save_backups_offline` (
  18. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  19. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  20. `remark` varchar(1024) DEFAULT NULL COMMENT '备份说明',
  21. `create_time` datetime DEFAULT NULL COMMENT '经办时间',
  22. `create_by` varchar(20) DEFAULT NULL COMMENT '经办人',
  23. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  24. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  25. `backups_mode` varchar(20) DEFAULT NULL COMMENT '备份方式',
  26. `backups_batch` varchar(50) DEFAULT NULL COMMENT '批次',
  27. `backups_capacity` varchar(20) DEFAULT NULL COMMENT '每份备份大小 ',
  28. `security_classification` varchar(20) DEFAULT NULL COMMENT '涉密情况',
  29. `connect_tab` varchar(50) DEFAULT NULL COMMENT '交接表',
  30. `leader_audit` int(1) DEFAULT NULL COMMENT '领导审核',
  31. `rate_progress` int(1) DEFAULT NULL COMMENT '进度',
  32. `medium` varchar(20) DEFAULT NULL COMMENT '备份介质',
  33. `num` varchar(20) DEFAULT NULL COMMENT '备份套数',
  34. `label` tinyint(10) DEFAULT NULL COMMENT '是否生成目录',
  35. PRIMARY KEY (`id`)
  36. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='离线备份表';
  37. -- ----------------------------
  38. -- Records of save_backups_offline
  39. -- ----------------------------
  40. -- ----------------------------
  41. -- Table structure for save_backups_online
  42. -- ----------------------------
  43. DROP TABLE IF EXISTS `save_backups_online`;
  44. CREATE TABLE `save_backups_online` (
  45. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  46. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  47. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  48. `create_time` datetime DEFAULT NULL COMMENT '创建时间,存入日期',
  49. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  50. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  51. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  52. `backups_period` int(10) DEFAULT NULL COMMENT '备份周期',
  53. `backups_status` varchar(20) DEFAULT NULL COMMENT '备份状态',
  54. `exception` varchar(255) NOT NULL COMMENT '异常说明',
  55. PRIMARY KEY (`id`)
  56. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='在线备份表';
  57. -- ----------------------------
  58. -- Records of save_backups_online
  59. -- ----------------------------
  60. INSERT INTO `save_backups_online` VALUES ('1', '', null, '2018-03-14 11:37:15', 'admin', null, 'admin', '7', '已经备份', '');
  61. INSERT INTO `save_backups_online` VALUES ('2', '', null, '2018-03-14 11:41:09', 'admin', null, 'admin', '9', '还未备份', '');
  62. -- ----------------------------
  63. -- Table structure for save_backups_record
  64. -- ----------------------------
  65. DROP TABLE IF EXISTS `save_backups_record`;
  66. CREATE TABLE `save_backups_record` (
  67. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  68. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  69. `remark` varchar(1024) DEFAULT NULL COMMENT '备注,备份说明',
  70. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  71. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  72. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  73. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  74. `backups_type` varchar(20) DEFAULT NULL COMMENT '备份类别 有在线备份1 和离线备份2',
  75. `status` varchar(20) DEFAULT '' COMMENT '备份状态表',
  76. `backups_online_tab` varchar(50) DEFAULT '' COMMENT '在线备份表',
  77. `backups_offline_tab` varchar(50) DEFAULT '' COMMENT '离线备份表',
  78. `connect_tab` varchar(50) DEFAULT NULL COMMENT '交接表',
  79. `proin_tab` varchar(50) NOT NULL COMMENT '入库表',
  80. PRIMARY KEY (`id`)
  81. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='备份记录表';
  82. -- ----------------------------
  83. -- Records of save_backups_record
  84. -- ----------------------------
  85. INSERT INTO `save_backups_record` VALUES ('1', '', 'ds', '2018-03-14 17:15:58', 'admin', null, null, '在线备份', '备份完成', 'XXX.X.X.X.X', '', null, '');
  86. INSERT INTO `save_backups_record` VALUES ('2', '', 'dsf', '2018-03-15 17:18:26', 'admin', null, null, '离线备份', '本分完成', 'XXX.X.X.XX.X', 'XXX.X.X.X.X.X', 'XX.X.X.X.X', 'XX.XX.X.X');
  87. -- ----------------------------
  88. -- Table structure for save_backusps_status
  89. -- ----------------------------
  90. DROP TABLE IF EXISTS `save_backusps_status`;
  91. CREATE TABLE `save_backusps_status` (
  92. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  93. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  94. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  95. `create_time` datetime DEFAULT NULL COMMENT '创建时间,存入日期',
  96. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  97. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  98. `update_by` varchar(20) NOT NULL COMMENT '更新人',
  99. `packaged` int(1) DEFAULT NULL COMMENT '备份已打包',
  100. `leader_audited` int(1) DEFAULT NULL COMMENT '领导已审核',
  101. `local_transfer` int(1) DEFAULT NULL COMMENT '本地人员交接中',
  102. `transportation_received` int(1) DEFAULT NULL COMMENT '运输人员已接收',
  103. `storekeeper_received` int(1) DEFAULT NULL COMMENT '库房人员已接收',
  104. `achieves_stored` int(1) DEFAULT NULL COMMENT '档案已入库',
  105. PRIMARY KEY (`id`)
  106. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='备份状态表';
  107. -- ----------------------------
  108. -- Records of save_backusps_status
  109. -- ----------------------------
  110. -- ----------------------------
  111. -- Table structure for save_connect
  112. -- ----------------------------
  113. DROP TABLE IF EXISTS `save_connect`;
  114. CREATE TABLE `save_connect` (
  115. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  116. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  117. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  118. `create_time` datetime DEFAULT NULL COMMENT '创建时间,移出时间',
  119. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人,移出填表人',
  120. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  121. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  122. `connect_name` varchar(20) DEFAULT NULL COMMENT '交接工作名',
  123. `connect_content` varchar(255) DEFAULT NULL COMMENT '内容描述',
  124. `connect_num` varchar(50) DEFAULT NULL COMMENT '移交电子数量',
  125. `connect_unit` varchar(10) DEFAULT NULL COMMENT '移交数据量',
  126. `serial` varchar(50) DEFAULT NULL COMMENT '载体起止顺序号',
  127. `specification` varchar(50) DEFAULT NULL COMMENT '载体规格',
  128. `accuracy_detection` int(1) DEFAULT NULL COMMENT '准确性检测',
  129. `integrity_testing` int(1) DEFAULT NULL COMMENT '完整性检测',
  130. `availability_detection` int(1) DEFAULT NULL COMMENT '可用性检测',
  131. `safety_inspection` int(1) DEFAULT NULL COMMENT '安全性检测',
  132. `appearance_detection` int(1) DEFAULT NULL COMMENT '载体外观检测',
  133. `transfer_reviewer` varchar(10) DEFAULT NULL COMMENT '移交审核人',
  134. `transfer_stamp` int(1) DEFAULT NULL COMMENT '移交单位签章',
  135. `accession_reviewer` varchar(10) DEFAULT NULL COMMENT '接收审核人',
  136. `accession_stamp` int(1) DEFAULT NULL COMMENT '接收单位签章',
  137. `rate_progress` int(1) DEFAULT NULL COMMENT '进度',
  138. PRIMARY KEY (`id`)
  139. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='交接表';
  140. -- ----------------------------
  141. -- Records of save_connect
  142. -- ----------------------------
  143. -- ----------------------------
  144. -- Table structure for save_disposition
  145. -- ----------------------------
  146. DROP TABLE IF EXISTS `save_disposition`;
  147. CREATE TABLE `save_disposition` (
  148. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  149. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  150. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  151. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  152. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  153. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  154. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  155. `medium_num` varchar(20) DEFAULT NULL COMMENT '光盘编号',
  156. `disposal_type` varchar(10) DEFAULT NULL COMMENT '处置类型',
  157. `disposal_reason` varchar(50) DEFAULT NULL COMMENT '处置原因',
  158. `reviewer` varchar(10) DEFAULT NULL COMMENT '审批人',
  159. `disposal_opinion` varchar(10) DEFAULT NULL COMMENT '审批意见',
  160. `disposal_person` varchar(10) DEFAULT NULL COMMENT '处置人',
  161. `security_supervisor` varchar(10) DEFAULT NULL COMMENT '监销人',
  162. PRIMARY KEY (`id`)
  163. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='处置表';
  164. -- ----------------------------
  165. -- Records of save_disposition
  166. -- ----------------------------
  167. INSERT INTO `save_disposition` VALUES ('1', '', 'dfddv', '2018-03-07 16:21:55', 'admin', null, null, 'fds', 'fdsfd', 'sfdsf', 'ds', 'df', 'sdfds', 'fs');
  168. INSERT INTO `save_disposition` VALUES ('2', '', null, '2018-03-22 08:42:08', 'admin', null, null, 'f\'d\'s', 'fsfsfsf', 'f\'d\'s\'f\'f', 'f\'s\'f\'s\'f', 'f\'d\'s', 'f\'s\'f', 'f\'d\'s\'');
  169. -- ----------------------------
  170. -- Table structure for save_label
  171. -- ----------------------------
  172. DROP TABLE IF EXISTS `save_label`;
  173. CREATE TABLE `save_label` (
  174. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  175. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  176. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  177. `create_time` datetime DEFAULT NULL COMMENT '创建时间,存入日期',
  178. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  179. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  180. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  181. `num` varchar(20) DEFAULT NULL COMMENT '编号',
  182. `fonds_code` varchar(50) DEFAULT NULL COMMENT '全宗号',
  183. `category_code` varchar(50) DEFAULT NULL COMMENT '类别号',
  184. `security_classification` varchar(20) DEFAULT NULL COMMENT '密级',
  185. `retention_period` varchar(10) DEFAULT NULL COMMENT '保管期限',
  186. PRIMARY KEY (`id`)
  187. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='备份标签表';
  188. -- ----------------------------
  189. -- Records of save_label
  190. -- ----------------------------
  191. -- ----------------------------
  192. -- Table structure for save_leader_audit
  193. -- ----------------------------
  194. DROP TABLE IF EXISTS `save_leader_audit`;
  195. CREATE TABLE `save_leader_audit` (
  196. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  197. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  198. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  199. `create_time` datetime DEFAULT NULL COMMENT '创建时间,存入日期',
  200. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  201. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  202. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  203. `type` varchar(20) DEFAULT NULL COMMENT '表类型',
  204. `status` varchar(20) DEFAULT NULL COMMENT '状态',
  205. PRIMARY KEY (`id`)
  206. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='领导审核表';
  207. -- ----------------------------
  208. -- Records of save_leader_audit
  209. -- ----------------------------
  210. INSERT INTO `save_leader_audit` VALUES ('1', '', 'dssfsf', '2018-03-13 17:33:48', 'admin', null, null, '恢复表', '待审核');
  211. INSERT INTO `save_leader_audit` VALUES ('2', '', 'sdd', '2018-03-15 17:35:28', 'admin', null, null, '备份记录表', '待审核');
  212. -- ----------------------------
  213. -- Table structure for save_migration
  214. -- ----------------------------
  215. DROP TABLE IF EXISTS `save_migration`;
  216. CREATE TABLE `save_migration` (
  217. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  218. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  219. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  220. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  221. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  222. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  223. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  224. `medium_num` varchar(20) DEFAULT NULL COMMENT '光盘号',
  225. `data_format` varchar(20) DEFAULT NULL COMMENT '数据格式',
  226. `data_size` varchar(20) DEFAULT NULL COMMENT '数据大小',
  227. `migration_reason` varchar(50) DEFAULT NULL COMMENT '迁移原因',
  228. `reviewer` varchar(10) DEFAULT NULL COMMENT '审批人',
  229. `new_medium` varchar(10) DEFAULT NULL COMMENT '新载体',
  230. `new_medium_num` varchar(20) DEFAULT NULL COMMENT '新载体编号',
  231. PRIMARY KEY (`id`)
  232. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='迁移表';
  233. -- ----------------------------
  234. -- Records of save_migration
  235. -- ----------------------------
  236. INSERT INTO `save_migration` VALUES ('1', '', 'dssv', '2018-03-22 17:09:54', null, null, 'admin', 'sd', 'fdsf', 'dsfdsf', 'fsf', 'f', 'sfd', 'sf');
  237. INSERT INTO `save_migration` VALUES ('2', '', null, '2018-03-22 09:15:58', 'admin', null, null, 'fdsfs', 'fsf', 'fsdfd', 'sfs', 'sfsdf', 'fsdfsfd', 'sfd');
  238. INSERT INTO `save_migration` VALUES ('3', '', null, '2018-03-22 09:16:13', 'admin', null, null, 'dsd', 'dds', 'sd', 'dds', 'dsd', 'dsdsds', 'd');
  239. -- ----------------------------
  240. -- Table structure for save_proin
  241. -- ----------------------------
  242. DROP TABLE IF EXISTS `save_proin`;
  243. CREATE TABLE `save_proin` (
  244. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  245. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  246. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  247. `create_time` datetime DEFAULT NULL COMMENT '清点时间,创建时间',
  248. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人,清点人员',
  249. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  250. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  251. `medium_num` varchar(50) DEFAULT NULL COMMENT '光盘号',
  252. `archives_type` varchar(20) DEFAULT NULL COMMENT '档案类型',
  253. `filing_num` varchar(50) DEFAULT NULL COMMENT '起止档号或归档号',
  254. `medium_content` varchar(255) DEFAULT NULL COMMENT '光盘内容',
  255. `file_format` varchar(10) DEFAULT NULL COMMENT '文件格式',
  256. `data_size` varchar(10) DEFAULT NULL COMMENT '数据大小',
  257. `backup_count` int(1) DEFAULT NULL COMMENT '备份套数',
  258. `save_position` varchar(50) DEFAULT NULL COMMENT '存放位置',
  259. `batch` varchar(50) DEFAULT NULL COMMENT '档案批次',
  260. PRIMARY KEY (`id`)
  261. ) ENGINE=InnoDB AUTO_INCREMENT=768 DEFAULT CHARSET=utf8 COMMENT='入库表';
  262. -- ----------------------------
  263. -- Records of save_proin
  264. -- ----------------------------
  265. INSERT INTO `save_proin` VALUES ('1', '', 'wefefwfw', '2018-03-14 11:01:07', 'sdvsvs', null, null, 'vssdvs', 'vdsvdsv', 'vdsvs', 'svs', 'sv', 'svdsvs', '1', 'svvdvddsvv', null);
  266. INSERT INTO `save_proin` VALUES ('2', '', null, '2018-03-17 09:51:15', null, null, null, '1123123123', '12313', '1123123', '123123', '123', '123', '123', '123123', null);
  267. INSERT INTO `save_proin` VALUES ('3', '', null, '2018-03-19 02:50:43', null, null, null, 'ffdsfsd', 'fdsf', 'f\'f\'d\'s', 'fsf', 'd\'s\'f', 'sfs', '2', 'fsfsf', '1.2.3.4.5');
  268. INSERT INTO `save_proin` VALUES ('4', '', null, '2018-03-19 02:50:43', null, null, null, 'ffdsfsd', 'fdsf', 'f\'f\'d\'s', 'fsf', 'd\'s\'f', 'sfs', '2', 'fsfsf', '1.2.3.4.5');
  269. INSERT INTO `save_proin` VALUES ('8', '', null, '2018-03-19 06:50:37', null, null, null, '', 'dsds', 'dsds', '', 'ds', '', null, '', '1.2.3.4.5');
  270. INSERT INTO `save_proin` VALUES ('9', '', null, '2018-03-19 06:54:12', null, null, null, 'd', 'sdfsf', 'ddsdsd', 'sfsf', 'sdsdd', 'sfsf', '12', 'sf', null);
  271. INSERT INTO `save_proin` VALUES ('10', '', null, '2018-03-19 06:54:49', null, null, null, 'd', 'sdfsf', 'ddsdsd', 'sfsf', 'sdsdd', 'sfsf', '12', 'sf', null);
  272. INSERT INTO `save_proin` VALUES ('747', '', null, '2018-03-13 14:55:09', null, null, null, 'dsds', 'dsd', 'sdsd', 'sdsd', 's', null, null, null, '1.2.3.4.5');
  273. INSERT INTO `save_proin` VALUES ('761', '', null, '2018-03-22 01:07:26', null, null, null, '', '', '', '', '', '', null, '', '1.2.3.4.5');
  274. INSERT INTO `save_proin` VALUES ('762', '', null, '2018-03-22 01:07:41', null, null, null, '', '', '111111111111111111111111', '', '', '', '11', '', '1.2.3.4.5');
  275. INSERT INTO `save_proin` VALUES ('763', '', null, '2018-03-22 02:34:56', 'admin', null, null, 'sdfdsfs', 'sfs', 'fsfsf', 'fsfs', 'fds', 'sfsf', '1', 'sf', '1.2.3.4.5');
  276. INSERT INTO `save_proin` VALUES ('764', '', null, '2018-03-22 02:35:06', 'admin', null, null, 'sdfdsfs', 'sfs', 'fsfsf', 'fsfs', 'fds', 'sfsf', '1', 'sf', '1.2.3.4.5');
  277. INSERT INTO `save_proin` VALUES ('765', '', null, '2018-03-22 02:35:41', 'admin', null, null, 'g', 'd', 'd', 'g', 'd', 'gd', null, '', '1.2.3.4.5');
  278. INSERT INTO `save_proin` VALUES ('766', '', null, '2018-03-22 02:36:26', 'admin', null, null, 'dg', 'dg', 'dg', 'gg', 'd', 'd', null, '', '1.2.3.4.5');
  279. INSERT INTO `save_proin` VALUES ('767', '', null, '2018-03-22 02:36:31', 'admin', null, null, 'fdgdgdgg', 'gdg', 'fdg', 'gdg', 'dg', 'dgdg', null, '', '1.2.3.4.5');
  280. -- ----------------------------
  281. -- Table structure for save_recovery
  282. -- ----------------------------
  283. DROP TABLE IF EXISTS `save_recovery`;
  284. CREATE TABLE `save_recovery` (
  285. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  286. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  287. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  288. `create_time` datetime DEFAULT NULL COMMENT '创建时间,存入日期',
  289. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  290. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  291. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  292. `application_tab` varchar(50) DEFAULT NULL COMMENT '恢复申请表',
  293. `record_tab` varchar(50) DEFAULT NULL COMMENT '恢复信息表',
  294. `restoration_state` int(20) DEFAULT NULL COMMENT '存储状态',
  295. PRIMARY KEY (`id`)
  296. ) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='恢复表';
  297. -- ----------------------------
  298. -- Records of save_recovery
  299. -- ----------------------------
  300. INSERT INTO `save_recovery` VALUES ('1', '', 'fggdg', '2018-03-22 09:38:59', 'admin', null, null, 'x.x.x.x.xx..x', 'xx.x.x.x.x.x', '0');
  301. INSERT INTO `save_recovery` VALUES ('4', '', null, '2018-03-27 06:31:18', 'admin', null, null, '1522132277926', '1213321312321', '0');
  302. INSERT INTO `save_recovery` VALUES ('5', '', null, '2018-03-28 02:52:09', 'admin', null, null, '1522205529321', null, '0');
  303. INSERT INTO `save_recovery` VALUES ('6', '', null, '2018-04-02 09:32:54', 'admin', null, null, '1522661574114', null, '0');
  304. INSERT INTO `save_recovery` VALUES ('7', '', null, '2018-04-02 09:32:59', 'admin', null, null, '1522661578978', null, '0');
  305. -- ----------------------------
  306. -- Table structure for save_recovery_application
  307. -- ----------------------------
  308. DROP TABLE IF EXISTS `save_recovery_application`;
  309. CREATE TABLE `save_recovery_application` (
  310. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  311. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  312. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  313. `create_time` datetime DEFAULT NULL COMMENT '创建时间,申请时间',
  314. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人,申请人',
  315. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  316. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  317. `instruction` varchar(255) DEFAULT NULL COMMENT '申请说明',
  318. `director_opinion` int(1) DEFAULT NULL COMMENT '局长审核',
  319. `recovery_information_tab` varchar(50) DEFAULT NULL COMMENT '恢复信息表',
  320. `rate_progress` int(1) DEFAULT NULL COMMENT '进度 -1审核不通过 0审核中 1审核通过 2恢复成功 不是2的话都显示还未恢复',
  321. `application_name` varchar(20) DEFAULT NULL,
  322. PRIMARY KEY (`id`)
  323. ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='恢复申请表';
  324. -- ----------------------------
  325. -- Records of save_recovery_application
  326. -- ----------------------------
  327. INSERT INTO `save_recovery_application` VALUES ('1', '', null, '2018-03-15 02:45:40', 'admin', null, null, 'sgsgsgdsgdsgs', null, null, null, null);
  328. INSERT INTO `save_recovery_application` VALUES ('2', '', null, '2018-03-26 09:27:19', 'admin', null, null, 'wedsd', null, null, null, null);
  329. INSERT INTO `save_recovery_application` VALUES ('3', '', null, '2018-03-27 01:18:28', 'admin', null, null, 'sfsdfs', null, null, null, null);
  330. INSERT INTO `save_recovery_application` VALUES ('4', '', null, '2018-03-27 01:19:59', 'admin', null, null, 'sfsdfs', null, null, null, null);
  331. INSERT INTO `save_recovery_application` VALUES ('5', '', null, '2018-03-27 01:20:29', 'admin', null, null, 'sfsdfssds', null, null, null, null);
  332. INSERT INTO `save_recovery_application` VALUES ('6', '', null, '2018-03-27 01:40:12', 'admin', null, null, 'sdfsfsf', null, null, null, null);
  333. INSERT INTO `save_recovery_application` VALUES ('7', '', null, '2018-03-27 01:55:41', 'admin', null, null, 'dsvss', null, null, null, null);
  334. INSERT INTO `save_recovery_application` VALUES ('8', '', null, '2018-03-27 02:15:17', 'admin', null, null, 'sddsfdsfsdfs', null, null, null, null);
  335. INSERT INTO `save_recovery_application` VALUES ('9', '', null, '2018-03-27 02:48:28', 'admin', null, null, '宏大的范德萨', null, null, null, null);
  336. INSERT INTO `save_recovery_application` VALUES ('10', '', null, '2018-03-27 06:31:17', 'admin', null, null, 'fdsfsfsfdsfds111111111111111111111111111111', null, null, null, '1522132277926');
  337. INSERT INTO `save_recovery_application` VALUES ('11', '', null, '2018-03-28 02:52:09', 'admin', null, null, 'wefssdssffs', null, null, null, '1522205529321');
  338. INSERT INTO `save_recovery_application` VALUES ('12', '', null, '2018-04-02 09:32:54', 'admin', null, null, 'sd', null, null, null, '1522661574114');
  339. INSERT INTO `save_recovery_application` VALUES ('13', '', null, '2018-04-02 09:32:58', 'admin', null, null, 'a', null, null, null, '1522661578978');
  340. -- ----------------------------
  341. -- Table structure for save_recovery_record
  342. -- ----------------------------
  343. DROP TABLE IF EXISTS `save_recovery_record`;
  344. CREATE TABLE `save_recovery_record` (
  345. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  346. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  347. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  348. `create_time` datetime DEFAULT NULL COMMENT '创建时间,恢复时间',
  349. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人,操作人员',
  350. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  351. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  352. `restoration_num` varchar(50) DEFAULT NULL COMMENT '恢复档案号',
  353. `restoration_content` varchar(255) DEFAULT NULL COMMENT '恢复内容',
  354. `record_name` varchar(20) DEFAULT NULL,
  355. PRIMARY KEY (`id`)
  356. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='恢复信息表';
  357. -- ----------------------------
  358. -- Records of save_recovery_record
  359. -- ----------------------------
  360. INSERT INTO `save_recovery_record` VALUES ('1', '', null, '2018-03-15 06:58:36', 'admin', null, null, 'fwfwef', 'wfefw', null);
  361. INSERT INTO `save_recovery_record` VALUES ('2', '', null, '2018-03-15 07:32:03', 'admin', null, null, 'fdsfsf', 'fdsf', null);
  362. INSERT INTO `save_recovery_record` VALUES ('3', '', null, '2018-03-27 01:39:14', 'admin', null, null, 'dsd', 'sds', '1213321312321');
  363. -- ----------------------------
  364. -- Table structure for save_repository
  365. -- ----------------------------
  366. DROP TABLE IF EXISTS `save_repository`;
  367. CREATE TABLE `save_repository` (
  368. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  369. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  370. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  371. `create_time` datetime DEFAULT NULL COMMENT '创建时间,存入日期',
  372. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  373. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  374. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  375. `batch` varchar(50) DEFAULT NULL COMMENT '档案批次',
  376. `proin_tab` varchar(50) DEFAULT NULL COMMENT '入库表',
  377. `dosposition_tab` varchar(50) DEFAULT NULL COMMENT '处置表',
  378. `sampling_tab` varchar(50) DEFAULT NULL COMMENT '检测表',
  379. `migration_tab` varchar(50) DEFAULT NULL COMMENT '迁移表',
  380. `sampling_time` int(3) DEFAULT NULL,
  381. PRIMARY KEY (`id`)
  382. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='仓库表';
  383. -- ----------------------------
  384. -- Records of save_repository
  385. -- ----------------------------
  386. INSERT INTO `save_repository` VALUES ('1', '', 'dssdds', '2018-03-15 16:50:15', null, null, 'admin', '1.2.3.4.5', 'ds', 'dsdsd', 'sdd', 'sdsds', '12');
  387. INSERT INTO `save_repository` VALUES ('2', '', 'fsf', '2018-03-15 10:00:40', 'admin', null, null, 'fdsf', null, null, null, null, null);
  388. INSERT INTO `save_repository` VALUES ('3', '', 'sssfdsffsfdsfsfs', '2018-03-16 01:29:00', 'admin', null, null, 'dssssssssssssssssss', null, null, null, null, null);
  389. INSERT INTO `save_repository` VALUES ('4', '', 'dsfsfsfs', '2018-03-20 07:26:43', null, null, null, '1.2.3.4.5', null, null, null, null, null);
  390. INSERT INTO `save_repository` VALUES ('5', '', '', '2018-03-20 07:34:13', null, null, null, '', null, null, null, null, null);
  391. INSERT INTO `save_repository` VALUES ('6', '', '', '2018-03-20 07:34:26', null, null, null, '', null, null, null, null, null);
  392. INSERT INTO `save_repository` VALUES ('7', '', 'dwq', '2018-03-20 08:39:41', null, null, null, 'dqdqqw', null, null, null, null, null);
  393. INSERT INTO `save_repository` VALUES ('8', '', '啊哈范德萨发的酸辣粉沙发撒发生发法萨芬撒范德萨范德萨发顺丰 第三方第三方大师法第三方', '2018-03-21 02:19:39', null, null, null, '2.3.4.5', null, null, null, null, null);
  394. INSERT INTO `save_repository` VALUES ('9', '', 'fsfsfs', '2018-03-21 02:48:52', null, null, null, 'sdfsf', null, null, null, null, null);
  395. INSERT INTO `save_repository` VALUES ('10', '', 'fsfsfsdsd', '2018-03-21 07:38:55', null, null, null, 'dfsf', null, null, null, null, null);
  396. INSERT INTO `save_repository` VALUES ('11', '', '', '2018-03-22 01:17:35', null, null, null, '', null, null, null, null, null);
  397. -- ----------------------------
  398. -- Table structure for save_sampling
  399. -- ----------------------------
  400. DROP TABLE IF EXISTS `save_sampling`;
  401. CREATE TABLE `save_sampling` (
  402. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  403. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  404. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  405. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  406. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  407. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  408. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  409. `medium_num` varchar(20) DEFAULT NULL COMMENT '光盘号',
  410. `bler` varchar(10) DEFAULT NULL COMMENT '块错误率 CD-R光盘的块错误率是指每秒测得的错误块数量,CD-R光盘技术规范规定:BLER<220数据块/秒',
  411. `e32` varchar(10) DEFAULT NULL COMMENT '不可校正错误 读CD-R光盘时不能被解码器校正的错误的总数称为E32,CD-R光盘技术规范规定:E32 = 0',
  412. `sym` varchar(10) DEFAULT NULL,
  413. `jitter` varchar(10) DEFAULT NULL,
  414. `pie` varchar(10) DEFAULT NULL COMMENT '奇偶校验内码错误 PI 与PO分别是ECC(错误校正编码)块中的奇偶校验内码和外码,DVD 光盘用PI 与PO 校验中发现错误的次数与程度来评价其记录质量,DVD-R和DVD+R技术规范规定PIE不能超过280',
  415. `pof` varchar(10) DEFAULT NULL COMMENT '奇偶校验外码失败 当DVDR读出解码器经过第一轮纠错后,不能校正ECC块内数据就叫奇偶校验外码失败,DVD-R和DVD+R技术规范都规定POF = 0',
  416. `asym` varchar(10) DEFAULT NULL,
  417. `dc_jitter` varchar(10) DEFAULT NULL,
  418. PRIMARY KEY (`id`)
  419. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='检测表';
  420. -- ----------------------------
  421. -- Records of save_sampling
  422. -- ----------------------------
  423. INSERT INTO `save_sampling` VALUES ('1', '', 'sd', '2018-03-22 17:45:31', null, null, 'admin', 'sd', 'ds', 'd', 'd', 'd', 'd', 'd', 'd', 'd');
  424. INSERT INTO `save_sampling` VALUES ('2', '', null, '2018-03-22 09:45:59', 'admin', null, null, '1', '1', '1', '1', null, '1', '1', '1', '1');
  425. -- ----------------------------
  426. -- Table structure for save_setcircle
  427. -- ----------------------------
  428. DROP TABLE IF EXISTS `save_setcircle`;
  429. CREATE TABLE `save_setcircle` (
  430. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  431. `enable` bit(1) NOT NULL DEFAULT b'1' COMMENT '逻辑删表示,0表示删除',
  432. `remark` varchar(1024) DEFAULT NULL COMMENT '备注',
  433. `create_time` datetime DEFAULT NULL COMMENT '创建时间,存入日期',
  434. `create_by` varchar(20) DEFAULT NULL COMMENT '创建人',
  435. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  436. `update_by` varchar(20) DEFAULT NULL COMMENT '更新人',
  437. `backups_circle` int(10) DEFAULT NULL COMMENT '备份周期',
  438. PRIMARY KEY (`id`)
  439. ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COMMENT='在线备份周期设置表';
  440. -- ----------------------------
  441. -- Records of save_setcircle
  442. -- ----------------------------
  443. INSERT INTO `save_setcircle` VALUES ('8', '', null, '2018-03-13 02:03:26', 'admin', null, null, '5435325');
  444. INSERT INTO `save_setcircle` VALUES ('9', '', null, '2018-03-14 04:00:39', 'admin', null, null, '121212');
  445. INSERT INTO `save_setcircle` VALUES ('10', '', null, '2018-03-24 08:15:07', 'admin', null, null, '12');
  446. INSERT INTO `save_setcircle` VALUES ('11', '', null, '2018-03-24 08:15:49', 'admin', null, null, '12');
  447. INSERT INTO `save_setcircle` VALUES ('12', '', null, '2018-03-24 08:17:36', 'admin', null, null, '12');
  448. INSERT INTO `save_setcircle` VALUES ('13', '', null, '2018-03-24 08:17:57', 'admin', null, null, '122');
  449. INSERT INTO `save_setcircle` VALUES ('14', '', null, '2018-03-24 08:19:12', 'admin', null, null, '12223');
  450. INSERT INTO `save_setcircle` VALUES ('15', '', null, '2018-03-24 08:19:43', 'admin', null, null, '12223');
  451. INSERT INTO `save_setcircle` VALUES ('16', '', null, '2018-03-26 01:14:57', 'admin', null, null, '1');
  452. INSERT INTO `save_setcircle` VALUES ('17', '', null, '2018-03-28 01:19:14', 'admin', null, null, '1');
  453. INSERT INTO `save_setcircle` VALUES ('18', '', null, '2018-04-02 09:32:36', 'admin', null, null, '12');
  454. -- ----------------------------
  455. -- Table structure for test
  456. -- ----------------------------
  457. DROP TABLE IF EXISTS `test`;
  458. CREATE TABLE `test` (
  459. `sum` int(10) DEFAULT NULL
  460. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  461. -- ----------------------------
  462. -- Records of test
  463. -- ----------------------------
  464. INSERT INTO `test` VALUES ('1');
  465. INSERT INTO `test` VALUES ('2');
  466. INSERT INTO `test` VALUES ('3');
  467. INSERT INTO `test` VALUES ('4');
  468. INSERT INTO `test` VALUES ('5');
  469. INSERT INTO `test` VALUES ('6');
  470. INSERT INTO `test` VALUES ('7');
  471. INSERT INTO `test` VALUES ('8');
  472. INSERT INTO `test` VALUES ('9');
  473. INSERT INTO `test` VALUES ('10');