archives_save.sql 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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-02-02 16:29:53
  11. */
  12. SET FOREIGN_KEY_CHECKS=0;
  13. -- ----------------------------
  14. -- Table structure for save _ Migration
  15. -- ----------------------------
  16. DROP TABLE IF EXISTS `save _ Migration`;
  17. CREATE TABLE `save _ Migration` (
  18. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  19. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  20. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  21. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  22. `remark` varchar(1024) DEFAULT NULL,
  23. `create_time` datetime DEFAULT NULL,
  24. `create_by` bigint(20) DEFAULT NULL,
  25. `update_time` datetime DEFAULT NULL,
  26. `update_by` bigint(20) DEFAULT NULL,
  27. `medium_num` varchar(20) DEFAULT NULL COMMENT '光盘号',
  28. `data_format` varchar(20) DEFAULT NULL COMMENT '数据格式',
  29. `data_size` varchar(20) DEFAULT NULL COMMENT '数据大小',
  30. `Migration_ reason` varchar(50) DEFAULT NULL COMMENT '迁移原因',
  31. `reviewer` varchar(10) DEFAULT NULL COMMENT '审批人',
  32. `new_medium` varchar(10) DEFAULT NULL COMMENT '新载体',
  33. `new_medium_num` varchar(20) DEFAULT NULL COMMENT '新载体编号',
  34. PRIMARY KEY (`id`)
  35. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='迁移表';
  36. -- ----------------------------
  37. -- Table structure for save _ sampling
  38. -- ----------------------------
  39. DROP TABLE IF EXISTS `save _ sampling`;
  40. CREATE TABLE `save _ sampling` (
  41. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  42. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  43. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  44. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  45. `remark` varchar(1024) DEFAULT NULL,
  46. `create_time` datetime DEFAULT NULL,
  47. `create_by` bigint(20) DEFAULT NULL,
  48. `update_time` datetime DEFAULT NULL,
  49. `update_by` bigint(20) DEFAULT NULL,
  50. `medium_num` varchar(20) DEFAULT NULL COMMENT '光盘号',
  51. `bler` varchar(10) DEFAULT NULL COMMENT '块错误率 CD-R光盘的块错误率是指每秒测得的错误块数量,CD-R光盘技术规范规定:BLER<220数据块/秒',
  52. `e32` varchar(10) DEFAULT NULL COMMENT '不可校正错误 读CD-R光盘时不能被解码器校正的错误的总数称为E32,CD-R光盘技术规范规定:E32 = 0',
  53. `sym` varchar(10) DEFAULT NULL,
  54. `jitter` varchar(10) DEFAULT NULL,
  55. `pie` varchar(10) DEFAULT NULL COMMENT '奇偶校验内码错误 PI 与PO分别是ECC(错误校正编码)块中的奇偶校验内码和外码,DVD 光盘用PI 与PO 校验中发现错误的次数与程度来评价其记录质量,DVD-R和DVD+R技术规范规定PIE不能超过280',
  56. `pof` varchar(10) DEFAULT NULL COMMENT '奇偶校验外码失败 当DVDR读出解码器经过第一轮纠错后,不能校正ECC块内数据就叫奇偶校验外码失败,DVD-R和DVD+R技术规范都规定POF = 0',
  57. `asym` varchar(10) DEFAULT NULL,
  58. `dc_jitter` varchar(10) DEFAULT NULL,
  59. PRIMARY KEY (`id`)
  60. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='检测表';
  61. -- ----------------------------
  62. -- Table structure for save _disposition
  63. -- ----------------------------
  64. DROP TABLE IF EXISTS `save _disposition`;
  65. CREATE TABLE `save _disposition` (
  66. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  67. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  68. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  69. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  70. `remark` varchar(1024) DEFAULT NULL,
  71. `create_time` datetime DEFAULT NULL,
  72. `create_by` bigint(20) DEFAULT NULL,
  73. `update_time` datetime DEFAULT NULL,
  74. `update_by` bigint(20) DEFAULT NULL,
  75. `medium_num` varchar(20) DEFAULT NULL COMMENT '光盘编号',
  76. `disposal_type` varchar(10) DEFAULT NULL COMMENT '处置类型',
  77. `disposal_reason` varchar(50) DEFAULT NULL COMMENT '处置原因',
  78. `reviewer` varchar(10) DEFAULT NULL COMMENT '审批人',
  79. `disposal_opinion` varchar(10) DEFAULT NULL COMMENT '审批意见',
  80. `disposal_person` varchar(10) DEFAULT NULL COMMENT '处置人',
  81. `security_supervisor` varchar(10) DEFAULT NULL COMMENT '监销人',
  82. PRIMARY KEY (`id`)
  83. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='处置表';
  84. -- ----------------------------
  85. -- Table structure for save _warehousing
  86. -- ----------------------------
  87. DROP TABLE IF EXISTS `save _warehousing`;
  88. CREATE TABLE `save _warehousing` (
  89. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  90. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  91. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  92. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  93. `remark` varchar(1024) DEFAULT NULL,
  94. `create_time` datetime DEFAULT NULL COMMENT '刻录时间',
  95. `create_by` bigint(20) DEFAULT NULL COMMENT '清点人员',
  96. `update_time` datetime DEFAULT NULL,
  97. `update_by` bigint(20) DEFAULT NULL,
  98. `Medium_num` varchar(20) DEFAULT NULL COMMENT '光盘号',
  99. `Archieves_type` varchar(20) DEFAULT NULL COMMENT '档案类型',
  100. `filing_num` varchar(50) DEFAULT NULL COMMENT '起止档号或归档号',
  101. `medium_content` varchar(255) DEFAULT NULL COMMENT '光盘内容',
  102. `file_format` varchar(10) DEFAULT NULL COMMENT '文件格式',
  103. `data_size` varchar(10) DEFAULT NULL COMMENT '数据大小',
  104. `Backup_count` int(1) DEFAULT NULL COMMENT '备份套数',
  105. `Stowed_position` varchar(50) DEFAULT NULL COMMENT '存放位置',
  106. PRIMARY KEY (`id`)
  107. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='入库表';
  108. -- ----------------------------
  109. -- Table structure for save_backups_record
  110. -- ----------------------------
  111. DROP TABLE IF EXISTS `save_backups_record`;
  112. CREATE TABLE `save_backups_record` (
  113. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  114. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  115. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  116. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  117. `remark` varchar(1024) DEFAULT NULL,
  118. `create_time` datetime DEFAULT NULL COMMENT '备份说明',
  119. `create_by` bigint(20) DEFAULT NULL,
  120. `update_time` datetime DEFAULT NULL,
  121. `update_by` bigint(20) DEFAULT NULL COMMENT '备份方式',
  122. `backups_mode` varchar(20) DEFAULT NULL COMMENT '备份方式',
  123. `backups_medium` varchar(20) DEFAULT NULL COMMENT '备份介质',
  124. `backups_num` int(1) DEFAULT NULL COMMENT '备份套数',
  125. `backups_batch` varchar(20) DEFAULT NULL COMMENT '批次',
  126. `backups_capacity` varchar(20) DEFAULT NULL COMMENT '每份备份大小',
  127. `security_classification` varchar(20) DEFAULT NULL COMMENT '涉密情况',
  128. `connect_tab` varchar(20) DEFAULT NULL COMMENT '交接表',
  129. `leader` varchar(10) NOT NULL COMMENT '领导审核',
  130. `rate_progress` int(1) DEFAULT NULL COMMENT '进度',
  131. `warehousing_tab` varchar(20) DEFAULT NULL,
  132. PRIMARY KEY (`id`)
  133. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='备份记录表';
  134. -- ----------------------------
  135. -- Table structure for save_connect
  136. -- ----------------------------
  137. DROP TABLE IF EXISTS `save_connect`;
  138. CREATE TABLE `save_connect` (
  139. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  140. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  141. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  142. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  143. `remark` varchar(1024) DEFAULT NULL,
  144. `create_time` datetime DEFAULT NULL COMMENT '移出时间',
  145. `create_by` bigint(20) DEFAULT NULL COMMENT '移出填表人',
  146. `update_time` datetime DEFAULT NULL,
  147. `update_by` bigint(20) DEFAULT NULL,
  148. `connect_name` varchar(20) DEFAULT NULL COMMENT '交接工作名',
  149. `connect_content` varchar(255) DEFAULT NULL COMMENT '内容描述',
  150. `connect_num` varchar(50) DEFAULT NULL COMMENT '移交电子数量',
  151. `connect_unit` varchar(10) DEFAULT NULL COMMENT '移交数据量',
  152. `serial` varchar(50) DEFAULT NULL COMMENT '载体起止顺序号',
  153. `specification` varchar(50) DEFAULT NULL COMMENT '载体规格',
  154. `accuracy_detection` int(1) DEFAULT NULL COMMENT '准确性检测',
  155. `Integrity_ testing` int(1) DEFAULT NULL COMMENT '完整性检测',
  156. `Availability_ detection` int(1) DEFAULT NULL COMMENT '可用性检测',
  157. `safety_inspection` int(1) DEFAULT NULL COMMENT '安全性检测',
  158. `Appearance_ detection` int(1) DEFAULT NULL COMMENT '载体外观检测',
  159. `transfer_reviewer` varchar(10) DEFAULT NULL COMMENT '移交审核人',
  160. `transfer_stamp` int(1) DEFAULT NULL COMMENT '移交单位签章',
  161. `accession_reviewer` varchar(10) DEFAULT NULL COMMENT '接收审核人',
  162. `accession_stamp` int(1) DEFAULT NULL COMMENT '接收单位签章',
  163. `rate_progress` int(1) DEFAULT NULL COMMENT '进度',
  164. PRIMARY KEY (`id`)
  165. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='交接表';
  166. -- ----------------------------
  167. -- Table structure for save_label
  168. -- ----------------------------
  169. DROP TABLE IF EXISTS `save_label`;
  170. CREATE TABLE `save_label` (
  171. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  172. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  173. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  174. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  175. `remark` varchar(1024) DEFAULT NULL,
  176. `create_time` datetime DEFAULT NULL COMMENT '存入日期',
  177. `create_by` bigint(20) DEFAULT NULL,
  178. `update_time` datetime DEFAULT NULL,
  179. `update_by` bigint(20) DEFAULT NULL,
  180. `num` varchar(20) DEFAULT NULL COMMENT '编号',
  181. `fonds_code` varchar(20) DEFAULT NULL COMMENT '全宗号',
  182. `category_code` varchar(20) DEFAULT NULL COMMENT '类别号',
  183. `security_classification` varchar(20) DEFAULT NULL COMMENT '密级',
  184. `retention_period` varchar(10) DEFAULT NULL COMMENT '保管期限',
  185. PRIMARY KEY (`id`)
  186. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='备份标签表';
  187. -- ----------------------------
  188. -- Table structure for save_recovery_application
  189. -- ----------------------------
  190. DROP TABLE IF EXISTS `save_recovery_application`;
  191. CREATE TABLE `save_recovery_application` (
  192. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  193. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  194. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  195. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  196. `remark` varchar(1024) DEFAULT NULL,
  197. `create_time` datetime DEFAULT NULL COMMENT '申请时间',
  198. `create_by` bigint(20) DEFAULT NULL COMMENT '申请人',
  199. `update_time` datetime DEFAULT NULL,
  200. `update_by` bigint(20) DEFAULT NULL,
  201. `Instruction` varchar(255) DEFAULT NULL COMMENT '申请说明',
  202. `director_opinion` int(1) DEFAULT NULL COMMENT '局长审核',
  203. `Recovery_information_tab` varchar(20) DEFAULT NULL COMMENT '恢复信息表',
  204. `rate_progress` int(1) DEFAULT NULL COMMENT '进度 -1审核不通过 0审核中 1审核通过 2恢复成功 不是2的话都显示还未恢复',
  205. PRIMARY KEY (`id`)
  206. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='恢复申请表';
  207. -- ----------------------------
  208. -- Table structure for save_recovery_record
  209. -- ----------------------------
  210. DROP TABLE IF EXISTS `save_recovery_record`;
  211. CREATE TABLE `save_recovery_record` (
  212. `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门用户主键ID',
  213. `dept_id` varchar(20) DEFAULT NULL COMMENT '部门ID',
  214. `user_id` varchar(20) DEFAULT NULL COMMENT '用户ID',
  215. `enable` tinyint(1) NOT NULL DEFAULT '1' COMMENT '启用状态',
  216. `remark` varchar(1024) DEFAULT NULL,
  217. `create_time` datetime DEFAULT NULL COMMENT '恢复时间',
  218. `create_by` bigint(20) DEFAULT NULL COMMENT '操作人员',
  219. `update_time` datetime DEFAULT NULL,
  220. `update_by` bigint(20) DEFAULT NULL,
  221. `restoration_num` varchar(20) DEFAULT NULL COMMENT '恢复档案号',
  222. `restoration_content` varchar(255) DEFAULT NULL COMMENT '恢复内容',
  223. PRIMARY KEY (`id`)
  224. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='恢复信息表';