-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- 主机： localhost
-- 生成日期： 2020-08-03 15:40:53
-- 服务器版本： 5.7.26
-- PHP 版本： 7.3.4

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- 数据库： `tougao`
--

-- --------------------------------------------------------

--
-- 表的结构 `t_admin`
--

CREATE TABLE `t_admin` (
  `admin_id` int(10) UNSIGNED NOT NULL COMMENT '主键',
  `account` varchar(128) NOT NULL DEFAULT '' COMMENT '账号',
  `password` char(32) NOT NULL DEFAULT '' COMMENT '密码（md5）',
  `phone` varchar(32) NOT NULL DEFAULT '' COMMENT '电话号',
  `author` tinyint(4) NOT NULL DEFAULT '0' COMMENT '权限组',
  `realname` varchar(64) NOT NULL DEFAULT '' COMMENT '真实姓名',
  `last_login_time` int(10) NOT NULL DEFAULT '0' COMMENT '最后登录时间',
  `last_login_ip` varchar(32) NOT NULL DEFAULT '' COMMENT '最后登录ip',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='管理员';

--
-- 转存表中的数据 `t_admin`
--

INSERT INTO `t_admin` (`admin_id`, `account`, `password`, `phone`, `author`, `realname`, `last_login_time`, `last_login_ip`, `ctime`, `state`) VALUES
(1, 'superadmin', '799fb0823a84149c7e1cf5f71fe79358', '', 0, 'admin', 1596434111, '127.0.0.1', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_article`
--

CREATE TABLE `t_article` (
  `article_id` int(11) NOT NULL COMMENT '主键',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `editor_id` int(11) NOT NULL DEFAULT '0' COMMENT '编辑id',
  `journal_id` int(11) NOT NULL DEFAULT '0' COMMENT '期刊表外键',
  `accept_sn` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '受理流水号',
  `title` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '标题',
  `author` varchar(512) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '作者',
  `author_affi` varchar(1024) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '作者机构',
  `corr_author` varchar(512) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '联系作者',
  `corr_author_affi` varchar(1024) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '联系作者机构',
  `corr_author_email` varchar(1024) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '联系作者邮箱',
  `keywords` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '关键词',
  `fund` varchar(128) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '基金',
  `abstrart` varchar(1024) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '简介',
  `cover_letter_url` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '给编辑的信',
  `media_url` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '媒介地址',
  `manuscirpt_url` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT '主体信息',
  `pdf_url` varchar(256) COLLATE utf8_unicode_ci NOT NULL DEFAULT '' COMMENT 'pdf地址',
  `author_act` tinyint(11) NOT NULL DEFAULT '0' COMMENT '作者是否有新操作0没有1有',
  `editor_act` tinyint(11) NOT NULL DEFAULT '0' COMMENT '编辑是否有新操作0没有1有',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `state` tinyint(11) NOT NULL DEFAULT '0' COMMENT '状态0投稿中1已受理2送审中3拒稿4退修中5录用'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='文章主表';

--
-- 转存表中的数据 `t_article`
--

INSERT INTO `t_article` (`article_id`, `user_id`, `editor_id`, `journal_id`, `accept_sn`, `title`, `author`, `author_affi`, `corr_author`, `corr_author_affi`, `corr_author_email`, `keywords`, `fund`, `abstrart`, `cover_letter_url`, `media_url`, `manuscirpt_url`, `pdf_url`, `author_act`, `editor_act`, `ctime`, `state`) VALUES
(1, 1, 2, 1, 'TMR2020A0715001', 'mytest', 'gail(1,2)', '1.天津科技大学\n2.北京邮电大学', 'gail wang(1)', '1.北京邮电大学', '13662001490@126.com', '测试,jianjie', '天津众筹基金', '关于测试的简介', 'coverLetter/20200715\\74cbf0c8d36d64870fa014ad6a1dc450.docx', 'picturesAndTables/20200715\\4d7723530d7097413f23620c482906b6.rar', 'manuscirpt/20200715\\7817a882d2a0e09ed58db7f407798808.pdf', '', 0, 0, 1594778724, 4),
(2, 1, 0, 1, 'TMR2020A0727001', 'myarticle', '', '', '', '', '', 'dsadsadsa', 'dsadsa', 'dsadasda1', 'coverLetter/20200722/909c8054fb38f6de1217e7e7041c9d04.docx', 'picturesAndTables/20200722/9bacd1fe883b1a672bc8e74b24e3e882.rar', 'manuscirpt/20200722/a2425cd9b07e5508d1a31268a5c99058.doc', '', 0, 0, 1595404412, 4),
(3, 1, 2, 1, 'TMR2020A0722001', 'myarticle', '', '', '', '', '', 'dsadsadsa', 'dsadsa', 'dsadasda1', 'coverLetter/20200722/909c8054fb38f6de1217e7e7041c9d04.docx', 'picturesAndTables/20200722/9bacd1fe883b1a672bc8e74b24e3e882.rar', 'manuscirpt/20200722/a2425cd9b07e5508d1a31268a5c99058.doc', '', 0, 0, 1595404492, 2),
(7, 1, 2, 1, 'TMR2020A0727002', '大萨达撒多', '', '', '', '', '', 'dsads', 'dsads', '大萨达撒多1', 'coverLetter/20200727/433f3608b3181c6a299b9267f3971726.docx', 'picturesAndTables/20200727/7218db7067c10d522c1b636037f4af42.zip', 'manuscirpt/20200727/cd67d8e8f944b5f1589cceb8e1aa967c.pdf', '', 0, 0, 1595813183, 4),
(8, 1, 2, 1, 'TMR2020A0727004', '额外翁二无群', '', '', '', '', '', '大萨达', 'V型从V型从v', '大叔大婶1', 'coverLetter/20200727/83091cf4f776612395a7c4ce9a007dce.doc', 'picturesAndTables/20200727/4097a73198023177768254078af52b02.rar', 'manuscirpt/20200727/1c52b74d5c0b586a7fc546a71c9a8dfd.pdf', '', 0, 0, 1595813263, 1),
(9, 1, 2, 1, 'TMR2020A0727006', '额外翁二无群', '', '', '', '', '', '大萨达', 'V型从V型从v', '大叔大婶', 'coverLetter/20200727/83091cf4f776612395a7c4ce9a007dce.doc', 'picturesAndTables/20200727/4097a73198023177768254078af52b02.rar', 'manuscirpt/20200727/1c52b74d5c0b586a7fc546a71c9a8dfd.pdf', '', 0, 0, 1595813263, 1),
(10, 1, 2, 1, 'TMR2020A0727003', '额外翁二无群', '', '', '', '', '', '大萨达', 'V型从V型从v', '大叔大婶', 'coverLetter/20200727/83091cf4f776612395a7c4ce9a007dce.doc', 'picturesAndTables/20200727/4097a73198023177768254078af52b02.rar', 'manuscirpt/20200727/1c52b74d5c0b586a7fc546a71c9a8dfd.pdf', '', 0, 0, 1595813263, 1),
(11, 1, 2, 1, 'TMR2020A0727005', '安达市大所', '', '', '', '', '', '的撒的撒', '大萨达撒', '大萨达多', 'coverLetter/20200727/8b8a1a552dccb49dccfe00eed33d1e4c.docx', 'picturesAndTables/20200727/0037bfb9df85e9c07972c16601d8c142.rar', 'manuscirpt/20200727/549a74ff02bc5a782727c89dd35d22c0.pdf', '', 0, 0, 1595813347, 1);

-- --------------------------------------------------------

--
-- 表的结构 `t_article_author`
--

CREATE TABLE `t_article_author` (
  `art_aut_id` int(11) NOT NULL COMMENT '主键',
  `article_id` int(11) NOT NULL DEFAULT '0' COMMENT '文章外键',
  `author` varchar(128) NOT NULL DEFAULT '' COMMENT '名字',
  `company` varchar(256) NOT NULL DEFAULT '' COMMENT '单位',
  `email` varchar(128) NOT NULL DEFAULT '' COMMENT '邮箱',
  `address` varchar(256) NOT NULL DEFAULT '' COMMENT '地址',
  `is_super` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否是第一作者0不是1是',
  `is_report` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否通讯作者0否1是',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态0正常1删除'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章作者表';

--
-- 转存表中的数据 `t_article_author`
--

INSERT INTO `t_article_author` (`art_aut_id`, `article_id`, `author`, `company`, `email`, `address`, `is_super`, `is_report`, `state`) VALUES
(1, 2, 'wangjinlei', 'tinajinkejidaxue', '13662001490@126.com', 'tianjinshibaodiqu', 1, 0, 0),
(2, 2, 'guanlianhua', 'tianjinligongdaxue', '13752113010@126.com', 'tianjinshibaodiqu', 0, 0, 0),
(3, 2, 'wangruoxi', 'tinajinshijinghaiqu', 'asdasd34a', '', 0, 0, 0),
(4, 2, 'zhangsanloisi', 'wangermazi1133', 'dsadsa1', '', 0, 0, 0),
(5, 3, 'wangjinlei', 'tinajinkejidaxue', '13662001490@126.com', 'tianjinshibaodiqu', 1, 0, 0),
(6, 3, 'guanlianhua', 'tianjinligongdaxue', '13752113010@126.com', 'tianjinshibaodiqu', 0, 0, 0),
(7, 3, 'wangruoxi', 'tinajinshijinghaiqu', '', '', 1, 0, 0),
(8, 3, 'zhangsanloisi', 'wangermazi', '', '', 0, 0, 1),
(9, 3, 'zhaosi', 'xiangyashancun1', '', '', 0, 0, 0),
(10, 2, 'knjnknjnk', '', '', '', 1, 0, 1),
(14, 7, 'dsadsa', 'dasdsa', '6541654@qq.com', 'dsadsada', 1, 0, 0),
(15, 8, '而我却二无', '额外企鹅', 'ewqe@163.com', '萨达', 1, 0, 0),
(16, 9, '而我却二无', '额外企鹅', 'ewqe@163.com', '萨达', 1, 0, 0),
(17, 10, '而我却二无', '额外企鹅', 'ewqe@163.com', '萨达', 1, 0, 0),
(18, 11, '多大事多撒', '的撒的撒', '54646@qq.com', '大萨达撒多', 1, 0, 0),
(19, 10, 'test2', '3213213213', '32132132@126.com', '撒大大', 0, 0, 0),
(20, 1, '大萨达撒', '大萨达撒多', 'dasdasdad@126.com', '你好', 1, 0, 0),
(21, 1, 'test2', '321321321', '321321@qq.com', '12312321', 0, 1, 0),
(22, 9, 'muname', 'dsadsa', '123331@163.com', '321321', 0, 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_article_file`
--

CREATE TABLE `t_article_file` (
  `file_id` int(11) NOT NULL COMMENT '主键',
  `article_id` int(11) NOT NULL DEFAULT '0' COMMENT '文章外键',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '上传者id',
  `username` varchar(128) NOT NULL DEFAULT '' COMMENT '上传者account',
  `file_url` varchar(128) NOT NULL DEFAULT '' COMMENT '文件url',
  `type_name` varchar(128) NOT NULL DEFAULT '' COMMENT '类型名',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章资料表';

--
-- 转存表中的数据 `t_article_file`
--

INSERT INTO `t_article_file` (`file_id`, `article_id`, `user_id`, `username`, `file_url`, `type_name`, `ctime`, `state`) VALUES
(1, 1, 1, 'wangjinlei', 'coverLetter/20200715\\74cbf0c8d36d64870fa014ad6a1dc450.docx', 'coverLetter', 1594778724, 0),
(2, 1, 1, 'wangjinlei', 'picturesAndTables/20200715\\4d7723530d7097413f23620c482906b6.rar', 'picturesAndTables', 1594778724, 0),
(3, 1, 1, 'wangjinlei', 'manuscirpt/20200715\\7817a882d2a0e09ed58db7f407798808.pdf', 'manuscirpt', 1594778724, 0),
(4, 1, 2, 'Liuxiaohui', 'coverLetter/20200715\\95306f3d19af07c02b0d098d7684e77e.doc', 'coverLetter', 1594778797, 0),
(5, 2, 1, 'wangjinlei', 'coverLetter/20200722/909c8054fb38f6de1217e7e7041c9d04.docx', 'coverLetter', 1595404412, 0),
(6, 2, 1, 'wangjinlei', 'picturesAndTables/20200722/9bacd1fe883b1a672bc8e74b24e3e882.rar', 'picturesAndTables', 1595404412, 0),
(7, 2, 1, 'wangjinlei', 'manuscirpt/20200722/a2425cd9b07e5508d1a31268a5c99058.doc', 'manuscirpt', 1595404412, 0),
(17, 7, 1, 'wangjinlei', 'coverLetter/20200727/433f3608b3181c6a299b9267f3971726.docx', 'coverLetter', 1595813183, 0),
(18, 7, 1, 'wangjinlei', 'picturesAndTables/20200727/7218db7067c10d522c1b636037f4af42.zip', 'picturesAndTables', 1595813183, 0),
(19, 7, 1, 'wangjinlei', 'manuscirpt/20200727/cd67d8e8f944b5f1589cceb8e1aa967c.pdf', 'manuscirpt', 1595813183, 0),
(20, 8, 1, 'wangjinlei', 'coverLetter/20200727/83091cf4f776612395a7c4ce9a007dce.doc', 'coverLetter', 1595813263, 0),
(21, 8, 1, 'wangjinlei', 'picturesAndTables/20200727/4097a73198023177768254078af52b02.rar', 'picturesAndTables', 1595813263, 0),
(22, 8, 1, 'wangjinlei', 'manuscirpt/20200727/1c52b74d5c0b586a7fc546a71c9a8dfd.pdf', 'manuscirpt', 1595813263, 0),
(23, 9, 1, 'wangjinlei', 'coverLetter/20200727/83091cf4f776612395a7c4ce9a007dce.doc', 'coverLetter', 1595813263, 0),
(24, 9, 1, 'wangjinlei', 'picturesAndTables/20200727/4097a73198023177768254078af52b02.rar', 'picturesAndTables', 1595813263, 0),
(25, 9, 1, 'wangjinlei', 'manuscirpt/20200727/1c52b74d5c0b586a7fc546a71c9a8dfd.pdf', 'manuscirpt', 1595813263, 0),
(26, 10, 1, 'wangjinlei', 'coverLetter/20200727/83091cf4f776612395a7c4ce9a007dce.doc', 'coverLetter', 1595813263, 0),
(27, 10, 1, 'wangjinlei', 'picturesAndTables/20200727/4097a73198023177768254078af52b02.rar', 'picturesAndTables', 1595813263, 0),
(28, 10, 1, 'wangjinlei', 'manuscirpt/20200727/1c52b74d5c0b586a7fc546a71c9a8dfd.pdf', 'manuscirpt', 1595813263, 0),
(29, 11, 1, 'wangjinlei', 'coverLetter/20200727/8b8a1a552dccb49dccfe00eed33d1e4c.docx', 'coverLetter', 1595813347, 0),
(30, 11, 1, 'wangjinlei', 'picturesAndTables/20200727/0037bfb9df85e9c07972c16601d8c142.rar', 'picturesAndTables', 1595813347, 0),
(31, 11, 1, 'wangjinlei', 'manuscirpt/20200727/549a74ff02bc5a782727c89dd35d22c0.pdf', 'manuscirpt', 1595813347, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_article_msg`
--

CREATE TABLE `t_article_msg` (
  `msg_id` int(11) NOT NULL COMMENT '主键',
  `article_id` int(11) NOT NULL DEFAULT '0' COMMENT '外键',
  `content` varchar(1024) NOT NULL DEFAULT '' COMMENT '内容',
  `state_from` tinyint(4) NOT NULL DEFAULT '0' COMMENT '原文章状态',
  `state_to` tinyint(4) NOT NULL DEFAULT '0' COMMENT '转到的文章状态',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章信息表';

--
-- 转存表中的数据 `t_article_msg`
--

INSERT INTO `t_article_msg` (`msg_id`, `article_id`, `content`, `state_from`, `state_to`, `ctime`, `state`) VALUES
(1, 1, 'thanks for you', 0, 1, 1594778774, 0),
(2, 3, '', 0, 1, 1595410731, 0),
(3, 2, 'thanks', 0, 1, 1595813449, 0),
(4, 7, 'thanks', 0, 1, 1595813782, 0),
(5, 7, 'sadsad', 1, 1, 1595830515, 0),
(6, 3, '', 1, 2, 1595831039, 0),
(7, 10, '', 0, 1, 1595831088, 0),
(8, 8, '', 0, 1, 1595834782, 0),
(9, 11, '', 0, 1, 1595834800, 0),
(10, 9, '', 0, 1, 1595834809, 0),
(11, 7, '', 1, 2, 1596178182, 0),
(12, 1, 'nbjksabdkjsadjksnkd', 1, 4, 1596185216, 0),
(13, 7, '1231321', 2, 4, 1596189724, 0),
(14, 7, '', 4, 5, 1596189792, 0),
(15, 7, '', 5, 3, 1596189895, 0),
(16, 7, '', 5, 3, 1596189895, 0),
(17, 7, '', 3, 3, 1596189896, 0),
(18, 7, '', 3, 4, 1596189931, 0),
(19, 2, 'mytests', 1, 4, 1596347628, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_article_reviewer`
--

CREATE TABLE `t_article_reviewer` (
  `art_rev_id` int(11) NOT NULL COMMENT '主键',
  `reviewer_id` int(11) NOT NULL DEFAULT '0' COMMENT '审核员id',
  `article_id` int(11) NOT NULL DEFAULT '0' COMMENT '文章id',
  `reviewer_act` tinyint(4) NOT NULL DEFAULT '0' COMMENT '审稿人是否有新操作0无1有',
  `editor_act` tinyint(4) NOT NULL DEFAULT '0' COMMENT '编辑是否有新操作0无1有',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态：0审稿中1退修2拒稿3通过'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章审核表';

--
-- 转存表中的数据 `t_article_reviewer`
--

INSERT INTO `t_article_reviewer` (`art_rev_id`, `reviewer_id`, `article_id`, `reviewer_act`, `editor_act`, `ctime`, `state`) VALUES
(1, 3, 1, 0, 0, 1594783420, 3),
(2, 4, 1, 0, 0, 1594783766, 0),
(3, 3, 7, 0, 1, 1596178182, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_article_reviewer_file`
--

CREATE TABLE `t_article_reviewer_file` (
  `art_rev_file_id` int(11) NOT NULL COMMENT '主键',
  `art_rev_id` int(11) DEFAULT '0' COMMENT '文章审核表id',
  `up_user_id` int(11) NOT NULL DEFAULT '0' COMMENT '上传者id',
  `up_username` varchar(64) NOT NULL DEFAULT '' COMMENT '上传者名',
  `file_url` varchar(128) NOT NULL DEFAULT '' COMMENT '文件地址',
  `type_name` varchar(32) NOT NULL DEFAULT '' COMMENT '文件类型',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '上传时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='文章审核文件表';

--
-- 转存表中的数据 `t_article_reviewer_file`
--

INSERT INTO `t_article_reviewer_file` (`art_rev_file_id`, `art_rev_id`, `up_user_id`, `up_username`, `file_url`, `type_name`, `ctime`, `state`) VALUES
(1, 1, 3, 'guanjie', 'articlefile/20200717/f7363e147b8348906adf17577049c031.docx', 'articlefile', 1594976076, 0),
(2, 1, 3, 'guanjie', 'articlefile/20200720/13a6b559a7c8fe71abd4c773ea9008d5.docx', 'articlefile', 1595233023, 0),
(3, 1, 3, 'guanjie', 'articlezip/20200720/c8cbb9e0a88ffbc1b5945f5a42e073ce.rar', 'articlezip', 1595233023, 0),
(4, 1, 2, 'Liuxiaohui', 'articlefile/20200720/41c7694c6dfdabf834b9fb3c3aea3bf1.docx', 'articlefile', 1595233089, 0),
(5, 1, 2, 'Liuxiaohui', 'articlezip/20200720/93422705d0e89a581c3dc7db7bb269ae.zip', 'articlezip', 1595233089, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_article_reviewer_question`
--

CREATE TABLE `t_article_reviewer_question` (
  `rev_qu_id` int(11) NOT NULL COMMENT '主键',
  `art_rev_id` int(11) NOT NULL DEFAULT '0' COMMENT '审稿表外键',
  `qu1` tinyint(4) NOT NULL DEFAULT '0',
  `qu2` tinyint(4) NOT NULL DEFAULT '0',
  `qu3` tinyint(4) NOT NULL DEFAULT '0',
  `qu4` tinyint(4) NOT NULL DEFAULT '0',
  `qu5` tinyint(4) NOT NULL DEFAULT '0',
  `qu6` tinyint(4) NOT NULL DEFAULT '0',
  `qu7` tinyint(4) NOT NULL DEFAULT '0',
  `qu8` tinyint(4) NOT NULL DEFAULT '0',
  `qu9` tinyint(4) NOT NULL DEFAULT '0',
  `qu9_contents` varchar(1024) NOT NULL DEFAULT '',
  `qu10` tinyint(4) NOT NULL DEFAULT '0',
  `qu10_contents` varchar(1024) NOT NULL DEFAULT '',
  `qu11` tinyint(4) NOT NULL DEFAULT '0',
  `qu11_contents` varchar(1024) NOT NULL DEFAULT '',
  `qu12` tinyint(4) NOT NULL DEFAULT '0',
  `qu12_contents` varchar(1024) NOT NULL DEFAULT '',
  `qu13` tinyint(4) NOT NULL DEFAULT '0',
  `qu13_contents` varchar(1024) NOT NULL DEFAULT '',
  `qu14` tinyint(4) NOT NULL DEFAULT '0',
  `qu14_contents` varchar(1024) NOT NULL DEFAULT '',
  `qu15` tinyint(4) NOT NULL DEFAULT '0',
  `qu15_contents` varchar(1024) NOT NULL DEFAULT '',
  `rated` tinyint(4) NOT NULL DEFAULT '0',
  `recommend` tinyint(4) NOT NULL DEFAULT '0',
  `other` tinyint(4) NOT NULL DEFAULT '0',
  `confidential` varchar(1024) NOT NULL DEFAULT '',
  `comments` varchar(1024) NOT NULL DEFAULT '',
  `ctime` int(10) NOT NULL DEFAULT '0',
  `state` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='审稿问题表';

--
-- 转存表中的数据 `t_article_reviewer_question`
--

INSERT INTO `t_article_reviewer_question` (`rev_qu_id`, `art_rev_id`, `qu1`, `qu2`, `qu3`, `qu4`, `qu5`, `qu6`, `qu7`, `qu8`, `qu9`, `qu9_contents`, `qu10`, `qu10_contents`, `qu11`, `qu11_contents`, `qu12`, `qu12_contents`, `qu13`, `qu13_contents`, `qu14`, `qu14_contents`, `qu15`, `qu15_contents`, `rated`, `recommend`, `other`, `confidential`, `comments`, `ctime`, `state`) VALUES
(1, 1, 2, 3, 2, 2, 2, 2, 2, 2, 0, '', 1, 'mytest suggestions', 1, '', 1, '', 1, '', 1, '', 1, '', 7, 1, 1, '13312', 'testtest', 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_journal`
--

CREATE TABLE `t_journal` (
  `journal_id` int(11) NOT NULL COMMENT '主键',
  `title` varchar(256) NOT NULL DEFAULT '' COMMENT '标题',
  `issn` varchar(128) NOT NULL DEFAULT '' COMMENT '期刊编号',
  `alias` varchar(32) NOT NULL DEFAULT '' COMMENT '别名',
  `editor_id` int(11) NOT NULL DEFAULT '0' COMMENT '编辑id',
  `email` varchar(128) NOT NULL DEFAULT '' COMMENT '邮箱',
  `epassword` varchar(32) NOT NULL DEFAULT '' COMMENT '邮箱密码',
  `website` varchar(128) NOT NULL DEFAULT '' COMMENT '跳转的网站地址',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='期刊';

--
-- 转存表中的数据 `t_journal`
--

INSERT INTO `t_journal` (`journal_id`, `title`, `issn`, `alias`, `editor_id`, `email`, `epassword`, `website`, `state`) VALUES
(1, 'Traditional Medicine Research', '2413-3973', '18', 2, 'tmr@tmrjournals.com', 'Wu999999tm', 'https://www.tmrjournals.com/tmr', 0),
(2, 'TMR Cancer', '2538-015X', '137', 2, 'tmrcancer@tmrjournals.com', 'Wu999999tmrcance', 'https://www.tmrjournals.com/cancer', 0),
(3, 'TMR Integrative Nursing', '2522-6371', '131', 2, 'tmrin@tmrjournals.com', 'Wu999999tmri', 'https://www.tmrjournals.com/in', 0),
(4, 'Asian Toxicology Research', '2703-1853', '130', 2, 'atr@tmrjournals.com', 'Wu999999at', 'https://www.tmrjournals.com/atr', 0),
(5, 'Drug Combination Therapy', '2624-3075', '126', 2, 'dct@tmrjournals.com', 'Wu999999dc', 'https://www.tmrjournals.com/dct', 0),
(6, 'Food Therapy and Health Care', '2624-2656', '127', 0, 'foodhealth@tmrjournals.com', 'Wu999999food', 'https://www.tmrjournals.com/fthc', 0),
(7, 'Gastroenterology & Hepatology Research', '2703-173X', '136', 0, 'ghr@tmrjournals.com', 'Wu999999gh', 'https://www.tmrjournals.com/ghr', 0),
(8, 'History & Philosophy of Medicine', '2624-4888', '124', 0, 'hpmed@tmrjournals.com', 'Wu999999hpme', 'https://www.tmrjournals.com/hpm', 0),
(9, 'Life Research', '2624-0548', '128', 0, 'liferes@tmrjournals.com', 'Wu999999lifere', 'https://www.tmrjournals.com/lr', 0),
(10, 'Medical Data Mining', '2624-1587', '121', 0, 'mdm@tmrjournals.com', 'Wu999999md', 'https://www.tmrjournals.com/mdm', 0),
(11, 'Precision Medicine Research', '2624-3474', '129', 0, 'pmr@tmrjournals.com', 'Wu999999pm', 'https://www.tmrjournals.com/pmr', 0),
(12, 'Psychosomatic Medicine Research', '2624-3687', '125', 0, 'psmr@tmrjournals.com', 'Wu999999psm', 'https://www.tmrjournals.com/psmr', 0),
(13, 'TMR Aging', '2624-4810', '134', 0, 'tmraging@tmrjournals.com', 'Wu999999tmragin', 'https://www.tmrjournals.com/aging', 0),
(14, 'TMR Clinical Research', '2624-1196', '123', 0, 'tcr@tmrjournals.com', 'Wu999999tc', 'https://www.tmrjournals.com/tcr', 0),
(15, 'TMR Integrative Medicine', '2521-3415', '133', 0, 'tmrim@tmrjournals.com', 'Wu999999tmri', 'https://www.tmrjournals.com/im', 0),
(16, 'TMR Modern Herbal Medicine', '2537-9798', '135', 2, 'tmrmhm@tmrjournals.com', 'Wu999999tmrmh', 'https://www.tmrjournals.com/mhm', 0),
(17, 'TMR Non-Drug Therapy', '2538-0583', '132', 0, 'tmrnd@tmrjournals.com', 'Wu999999tmrn', 'https://www.tmrjournals.com/ndt', 0),
(18, 'TMR Theory and Hypothesis', '2538-130X', '122', 2, 'tmrtheory@tmrjournals.com', 'Wu999999tmrtheor', 'https://www.tmrjournals.com/th', 0),
(19, 'Tumor Microenvironment Research', '2703-1950', '119', 0, 'tmer@tmrjournals.com', 'Wu999999tme', 'https://www.tmrjournals.com/tmer', 0),
(20, 'Infectious Diseases Research', '2703-4631', '36', 0, 'idr@tmrjournals.com', 'Wu999999id', 'https://www.tmrjournals.com/idr', 0),
(21, '经典中医研究', '2624-2532', '120', 2, 'ccmr@tmrjournals.com', 'Wu999999ccm', 'https://www.tmrjournals.com/ccmr', 0),
(22, '你好', '2413-3939', '', 0, '', '', '', 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_reviewer_major`
--

CREATE TABLE `t_reviewer_major` (
  `major_id` int(11) NOT NULL COMMENT '主键',
  `title` varchar(128) NOT NULL DEFAULT '' COMMENT '标题',
  `ctitle` varchar(128) NOT NULL DEFAULT '' COMMENT '中文标题',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='审核员专业';

--
-- 转存表中的数据 `t_reviewer_major`
--

INSERT INTO `t_reviewer_major` (`major_id`, `title`, `ctitle`, `state`) VALUES
(1, 'Allergology', '变态反应', 0),
(2, 'Alternative Medicine', '替代医学', 0),
(3, 'Cardiology', '心脏学', 0),
(4, 'Dentistry', '牙科', 0),
(5, 'Dermatology', '皮肤科', 0),
(6, 'Endocrinology', '内分泌', 0),
(7, 'Epidemiology', '流行病学', 0),
(8, 'Gastroenterology', '消化内科', 0),
(9, 'Health Management', '健康管理', 0),
(10, 'immunology', '免疫学', 0),
(11, 'Medicine', '医学', 0),
(12, 'Nursing', '护理学', 0),
(13, 'Obstetrics and Gynecology', '妇产科', 0),
(14, 'Oncology', '肿瘤科', 0),
(15, 'Ophthalmology', '眼科', 0),
(16, 'Pathology', '病理学', 0),
(17, 'Pediatrics', '儿科', 0),
(18, 'Pharmacology', '药理', 0),
(19, 'Psychiatry', '精神病学', 0),
(20, 'Radiology/Imaging', '放射科/影像', 0),
(21, 'Rehabilitation Sciences', '康复治疗学', 0),
(22, 'Rheumatology', '风湿科', 0),
(23, 'Surgery', '外科', 0),
(24, 'Rheumatology', '风湿科', 0),
(25, 'Surgery', '外科', 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_reviewer_to_journal`
--

CREATE TABLE `t_reviewer_to_journal` (
  `rtj_id` int(11) NOT NULL COMMENT '主键',
  `reviewer_id` int(11) NOT NULL DEFAULT '0' COMMENT '审核员id',
  `journal_id` int(11) NOT NULL DEFAULT '0' COMMENT '期刊id',
  `account` varchar(128) NOT NULL DEFAULT '' COMMENT '审核员name',
  `journal_title` varchar(128) NOT NULL DEFAULT '' COMMENT '期刊title',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='审核员-期刊链接表';

--
-- 转存表中的数据 `t_reviewer_to_journal`
--

INSERT INTO `t_reviewer_to_journal` (`rtj_id`, `reviewer_id`, `journal_id`, `account`, `journal_title`, `ctime`, `state`) VALUES
(1, 3, 1, 'guanjie', 'Traditional Medicine Research', 1594779233, 0),
(2, 4, 1, 'testtest1', 'Traditional Medicine Research', 1594783649, 0),
(3, 5, 1, 'testtest2', 'Traditional Medicine Research', 1594869746, 0),
(4, 6, 1, 'mytest3', 'Traditional Medicine Research', 1595594361, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_user`
--

CREATE TABLE `t_user` (
  `user_id` int(10) UNSIGNED NOT NULL COMMENT '主键',
  `account` varchar(128) NOT NULL DEFAULT '' COMMENT '账号',
  `password` char(32) NOT NULL DEFAULT '' COMMENT '密码（md5）',
  `email` varchar(128) NOT NULL DEFAULT '' COMMENT '邮箱',
  `phone` varchar(64) NOT NULL DEFAULT '' COMMENT '电话',
  `nickname` varchar(64) NOT NULL DEFAULT '' COMMENT '昵称',
  `realname` varchar(128) NOT NULL DEFAULT '' COMMENT '真实姓名',
  `icon` varchar(256) NOT NULL DEFAULT '' COMMENT '头像图片地址',
  `type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '用户类型1作者(审稿人)2编辑',
  `is_reviewer` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否是审稿人',
  `orcid` varchar(64) NOT NULL DEFAULT '' COMMENT '科学家编码',
  `last_login_ip` varchar(64) NOT NULL DEFAULT '' COMMENT '最后登录ip',
  `last_login_time` int(10) NOT NULL DEFAULT '0' COMMENT '最后登陆时间',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `stime` int(10) NOT NULL DEFAULT '0' COMMENT '左后操作时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态0正常1封号'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户表';

--
-- 转存表中的数据 `t_user`
--

INSERT INTO `t_user` (`user_id`, `account`, `password`, `email`, `phone`, `nickname`, `realname`, `icon`, `type`, `is_reviewer`, `orcid`, `last_login_ip`, `last_login_time`, `ctime`, `stime`, `state`) VALUES
(1, 'wangjinlei', '7ffb98a17e55c2696c79ad3c63e00f38', '13662001490@126.com', '13662001490', '', '王金磊', '', 1, 0, '', '127.0.0.1', 1596334570, 1594777709, 0, 0),
(2, 'Liuxiaohui', '7ffb98a17e55c2696c79ad3c63e00f38', '1252086715@qq.com', '15620058864', '', 'Liuxiaohui', '', 2, 0, '', '127.0.0.1', 1596436715, 1594778324, 0, 0),
(3, 'guanjie', '7ffb98a17e55c2696c79ad3c63e00f38', '751475802@qq.com', '', '', 'guanjie', '', 1, 1, '', '127.0.0.1', 1596103717, 1594779233, 0, 0),
(4, 'testtest1', 'e9f5c5240c0bb39488e6dbfbdb1517e0', 'eqweqwe@gmail.com', '', '', 'testtest1', '', 1, 1, '', '', 0, 1594783649, 0, 0),
(5, 'testtest2', 'e9f5c5240c0bb39488e6dbfbdb1517e0', 'fdsfdsfa@qq.com', '', '', 'testtest2', '', 1, 1, '', '', 0, 1594869746, 0, 0),
(6, 'mytest3', 'e9f5c5240c0bb39488e6dbfbdb1517e0', '13266544785@163.com', '', '', 'mytest3', '', 1, 1, '', '', 0, 1595594361, 0, 0),
(7, 'pipi', 'e16e56c27bc07f373129e4c333d0102e', 'tmr@tmrjournals.com', '15704601021', '', 'pinuoxi', '', 1, 0, '', '192.168.1.108', 1595843354, 1595829667, 0, 0),
(8, 'gail wang', '7ffb98a17e55c2696c79ad3c63e00f38', 'wangjinleizhang2@163.com', '13662001490', '', 'gail', '', 1, 0, '', '127.0.0.1', 1596074254, 1596074244, 0, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_user_act`
--

CREATE TABLE `t_user_act` (
  `act_id` int(11) NOT NULL COMMENT '主键',
  `act_key` varchar(32) NOT NULL DEFAULT '' COMMENT '操作key',
  `type` varchar(16) NOT NULL DEFAULT '' COMMENT '操作类型',
  `param` varchar(256) NOT NULL DEFAULT '' COMMENT '参数',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '时间戳',
  `state` tinyint(4) DEFAULT '0' COMMENT '状态0初始1用过'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户隐性操作中间表';

--
-- 转存表中的数据 `t_user_act`
--

INSERT INTO `t_user_act` (`act_id`, `act_key`, `type`, `param`, `ctime`, `state`) VALUES
(1, '88bdca15f22d67c249950fdfc6c8b30d', 'retrieve', '{\"email\":\"751475802@qq.com\"}', 1594779338, 1);

-- --------------------------------------------------------

--
-- 表的结构 `t_user_log`
--

CREATE TABLE `t_user_log` (
  `log_id` int(11) NOT NULL COMMENT '主键',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0上传文章1编辑文章2添加文章审稿3更新文章审稿',
  `content` varchar(512) NOT NULL DEFAULT '' COMMENT '内容',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='日志表';

--
-- 转存表中的数据 `t_user_log`
--

INSERT INTO `t_user_log` (`log_id`, `user_id`, `type`, `content`, `ctime`) VALUES
(1, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：mytest,上传时间是：2020-07-15 10:05:25', 1594778725),
(2, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（mytest）的状态,更改时间是：2020-07-15 10:06:15', 1594778775),
(3, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：mytest,上传时间是：2020-07-15 10:06:37', 1594778797),
(4, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：myarticle,上传时间是：2020-07-22 15:53:33', 1595404413),
(5, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：myarticle,上传时间是：2020-07-22 15:54:52', 1595404492),
(6, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:15:11', 1595409311),
(7, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:17:04', 1595409424),
(8, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:17:18', 1595409438),
(9, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:19:06', 1595409546),
(10, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（myarticle）的状态,更改时间是：2020-07-22 17:38:52', 1595410732),
(11, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:41:51', 1595410911),
(12, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:48:22', 1595411302),
(13, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:54:19', 1595411659),
(14, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:54:35', 1595411675),
(15, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:54:46', 1595411686),
(16, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:57:56', 1595411876),
(17, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 17:58:06', 1595411886),
(18, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 18:00:44', 1595412044),
(19, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 18:00:50', 1595412050),
(20, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-22 18:00:57', 1595412057),
(21, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-23 11:11:15', 1595473875),
(22, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-23 11:12:05', 1595473925),
(23, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-23 11:13:27', 1595474007),
(24, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-23 11:43:07', 1595475787),
(25, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：myarticle,时间是：2020-07-23 11:47:55', 1595476075),
(29, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：大萨达撒多,上传时间是：2020-07-27 09:26:24', 1595813184),
(30, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：额外翁二无群,上传时间是：2020-07-27 09:27:44', 1595813264),
(31, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：额外翁二无群,上传时间是：2020-07-27 09:27:44', 1595813264),
(32, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：额外翁二无群,上传时间是：2020-07-27 09:27:44', 1595813264),
(33, 1, 0, 'wangjinlei(王金磊),上传了一篇文章：安达市大所,上传时间是：2020-07-27 09:29:08', 1595813348),
(34, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（myarticle）的状态,更改时间是：2020-07-27 09:30:50', 1595813450),
(35, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（大萨达撒多）的状态,更改时间是：2020-07-27 09:36:23', 1595813783),
(36, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：大萨达撒多,时间是：2020-07-27 09:38:57', 1595813937),
(37, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（myarticle）的状态,更改时间是：2020-07-27 14:24:00', 1595831040),
(38, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（额外翁二无群）的状态,更改时间是：2020-07-27 14:24:49', 1595831089),
(39, 1, 1, 'wangjinlei(王金磊),修改了一篇文章：额外翁二无群,时间是：2020-07-27 15:08:29', 1595833709),
(40, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（额外翁二无群）的状态,更改时间是：2020-07-27 15:26:23', 1595834783),
(41, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（安达市大所）的状态,更改时间是：2020-07-27 15:26:41', 1595834801),
(42, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（额外翁二无群）的状态,更改时间是：2020-07-27 15:26:50', 1595834810),
(43, 2, 2, 'Liuxiaohui(Liuxiaohui),添加了一个文章审稿实例：(大萨达撒多-----guanjie),添加时间是：2020-07-31 14:49:43', 1596178183),
(44, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（mytest）的状态,更改时间是：2020-07-31 16:46:57', 1596185217),
(45, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（大萨达撒多）的状态,更改时间是：2020-07-31 18:02:05', 1596189725),
(46, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（大萨达撒多）的状态,更改时间是：2020-07-31 18:03:13', 1596189793),
(47, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（大萨达撒多）的状态,更改时间是：2020-07-31 18:04:56', 1596189896),
(48, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（大萨达撒多）的状态,更改时间是：2020-07-31 18:04:56', 1596189896),
(49, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（大萨达撒多）的状态,更改时间是：2020-07-31 18:05:32', 1596189932),
(50, 2, 1, 'Liuxiaohui(Liuxiaohui),更改了一篇文章：（myarticle）的状态,更改时间是：2020-08-02 13:53:49', 1596347629);

-- --------------------------------------------------------

--
-- 表的结构 `t_user_msg`
--

CREATE TABLE `t_user_msg` (
  `user_msg_id` int(11) NOT NULL COMMENT '主键',
  `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id',
  `content` varchar(256) NOT NULL DEFAULT '' COMMENT '内容',
  `url` varchar(128) NOT NULL DEFAULT '' COMMENT '链接地址',
  `looked` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否被看0未被查看1已看',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户消息表';

--
-- 转存表中的数据 `t_user_msg`
--

INSERT INTO `t_user_msg` (`user_msg_id`, `user_id`, `content`, `url`, `looked`, `ctime`, `state`) VALUES
(1, 2, '您有新的待审文章', '/articleDetailEditor?id=7', 0, 1595813184, 1),
(2, 2, '您有新的待审文章', '/articleDetailEditor?id=8', 0, 1595813264, 1),
(3, 2, '您有新的待审文章', '/articleDetailEditor?id=9', 0, 1595813264, 1),
(4, 2, '您有新的待审文章', '/articleDetailEditor?id=10', 0, 1595813264, 1),
(5, 2, '您有新的待审文章', '/articleDetailEditor?id=11', 0, 1595813348, 1),
(6, 1, '文章有新动态，文章（myarticle)', '/articleDetail?id=2', 0, 1595813450, 1),
(7, 1, '文章有新动态，文章（大萨达撒多)', '/articleDetail?id=7', 0, 1595813783, 1),
(8, 2, '文章有新动态，文章（大萨达撒多)', '/articleDetailEditor?id=7', 0, 1595813937, 1),
(9, 2, '新增审稿人申请，申请人（dongxunrui)', '/reviewerApplyDetail?id=5', 0, 1595817905, 1),
(10, 1, '文章有新动态，文章（myarticle)', '/articleDetail?id=3', 0, 1595831040, 1),
(11, 1, '文章有新动态，文章（额外翁二无群)', '/articleDetail?id=10', 0, 1595831089, 1),
(12, 2, '文章有新动态，文章（额外翁二无群)', '/articleDetailEditor?id=8', 0, 1595833709, 1),
(13, 1, '文章有新动态，文章（额外翁二无群)', '/articleDetail?id=8', 0, 1595834783, 0),
(14, 1, '文章有新动态，文章（安达市大所)', '/articleDetail?id=11', 0, 1595834801, 0),
(15, 1, '文章有新动态，文章（额外翁二无群)', '/articleDetail?id=9', 0, 1595834810, 1),
(16, 2, '有新文章更新了作者信息', 'articleDetailEditor?id=1', 0, 1595835439, 1),
(17, 2, '有新文章更新了作者信息', 'articleDetailEditor?id=9', 0, 1595836433, 1),
(18, 2, '有新文章更新了作者信息', 'articleDetailEditor?id=1', 0, 1595837735, 1),
(19, 2, '新增审稿人申请，申请人（asdsadads)', '/reviewerApplyDetail?id=6', 0, 1595990101, 1),
(20, 2, '新增审稿人申请，申请人（sdadsadasd)', '/reviewerApplyDetail?id=7', 0, 1596080166, 1),
(21, 2, 'Manuscript authors be changed,please contact the author to confirm.', 'articleDetailEditor?id=1', 0, 1596095921, 1),
(22, 3, '您有新的待审稿文章', '/reviewerArticleDetail?id=3', 0, 1596178183, 0),
(23, 1, 'Your manuscript has new process:  mytest', '/articleDetail?id=1', 0, 1596185217, 1),
(24, 1, 'Your manuscript has new process:  大萨达撒多', '/articleDetail?id=7', 0, 1596189725, 0),
(25, 1, 'Your manuscript has new process:  大萨达撒多', '/articleDetail?id=7', 0, 1596189793, 0),
(26, 1, 'Your manuscript has new process:  大萨达撒多', '/articleDetail?id=7', 0, 1596189896, 1),
(27, 1, 'Your manuscript has new process:  大萨达撒多', '/articleDetail?id=7', 0, 1596189896, 1),
(28, 1, 'Your manuscript has new process:  大萨达撒多', '/articleDetail?id=7', 0, 1596189932, 1),
(29, 1, 'Your manuscript has new process:  myarticle', '/articleDetail?id=2', 0, 1596347629, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_user_reviewer_apply`
--

CREATE TABLE `t_user_reviewer_apply` (
  `reviewer_id` int(11) NOT NULL COMMENT '主键',
  `journal_id` int(11) NOT NULL DEFAULT '0' COMMENT '期刊表外键',
  `name` varchar(64) NOT NULL DEFAULT '' COMMENT '姓名',
  `gender` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1男2女',
  `technical` varchar(128) NOT NULL DEFAULT '' COMMENT '职称',
  `country` varchar(64) NOT NULL DEFAULT '' COMMENT '国家',
  `introduction` varchar(2048) NOT NULL DEFAULT '' COMMENT '个人简介',
  `email` varchar(64) NOT NULL DEFAULT '' COMMENT '邮箱',
  `company` varchar(128) NOT NULL DEFAULT '' COMMENT '单位',
  `major` varchar(64) NOT NULL DEFAULT '' COMMENT '专业',
  `field` varchar(64) NOT NULL DEFAULT '' COMMENT '领域',
  `qualifications` varchar(128) NOT NULL DEFAULT '' COMMENT '资质',
  `ctime` int(10) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态0初始1通过2驳回'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='审核员申请表';

--
-- 转存表中的数据 `t_user_reviewer_apply`
--

INSERT INTO `t_user_reviewer_apply` (`reviewer_id`, `journal_id`, `name`, `gender`, `technical`, `country`, `introduction`, `email`, `company`, `major`, `field`, `qualifications`, `ctime`, `state`) VALUES
(1, 1, 'guanjie', 1, 'Assistant Prof.', 'china', 'this is  my introduction', '751475802@qq.com', '华西医院', '4', '牙龈护理', 'reviewer/20200715\\2e795e938c34ac69c3f8b800fec711c8.zip', 1594779204, 1),
(2, 1, 'testtest1', 1, 'Ph.D.', 'china', '我是很厉害的医生哦，选择我是没错的', 'eqweqwe@gmail.com', '华西医院', '4', '洗牙', 'reviewer/20200715\\a24a39430b32d9aa7d99e86e993a94f3.zip', 1594783561, 1),
(3, 1, 'testtest2', 1, 'Associate Prof.', 'china', 'adsadasd', 'fdsfdsfa@qq.com', 'tegenolge', '4', 'sdadasdas', 'reviewer/20200716\\e7753f71945298e93687c840cc014bbf.rar', 1594869737, 1),
(4, 1, 'mytest3', 2, 'Assistant Prof.', 'china', 'dhjasvjvdsvjh', '13266544785@163.com', 'dsdsadsa', '1', 'dsadsa', 'reviewer/20200724/d1fb8e88706d90f0f82924ec8ec977f6.zip', 1595559599, 1),
(5, 1, 'dongxunrui', 2, 'Associate Prof.', 'china', 'dsad ', '751475802@qq.com', '的撒的撒', '4', '修复', 'reviewer/20200727/caf3204d72b6ae3b50754915a519d488.zip', 1595817905, 0),
(6, 1, 'asdsadads', 1, 'Assistant Prof.', 'china', '的撒的撒', '1654@qq.com', 'dsadsd', '1', 'dsadsa', 'reviewer/20200729/125461c938627e59c8db44528612b307.rar', 1595990101, 0),
(7, 1, 'sdadsadasd', 1, 'Prof.', 'dsadas', 'dsadsa', 'dsadsa@126.com', 'china', '3', 'dsad', 'reviewer/20200730/b46090ea5ecfd5ddbe4e01ddb96b90f1.rar', 1596080166, 0);

-- --------------------------------------------------------

--
-- 表的结构 `t_user_reviewer_info`
--

CREATE TABLE `t_user_reviewer_info` (
  `reviewer_info_id` int(11) NOT NULL COMMENT '主键',
  `reviewer_id` int(11) NOT NULL DEFAULT '0' COMMENT '审核员id',
  `gender` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1男2女',
  `technical` varchar(64) NOT NULL DEFAULT '' COMMENT '职称',
  `country` varchar(64) NOT NULL DEFAULT '' COMMENT '国家',
  `introduction` varchar(1024) NOT NULL DEFAULT '' COMMENT '简介',
  `company` varchar(128) NOT NULL DEFAULT '' COMMENT '单位',
  `major` int(11) NOT NULL DEFAULT '0' COMMENT '专业',
  `field` varchar(128) NOT NULL DEFAULT '' COMMENT '领域',
  `qualifications` varchar(256) NOT NULL DEFAULT '' COMMENT '资质url',
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='审核员附加表';

--
-- 转存表中的数据 `t_user_reviewer_info`
--

INSERT INTO `t_user_reviewer_info` (`reviewer_info_id`, `reviewer_id`, `gender`, `technical`, `country`, `introduction`, `company`, `major`, `field`, `qualifications`, `state`) VALUES
(1, 3, 1, 'Assistant Prof.', 'china', 'this is  my introduction', '华西医院', 4, '牙龈护理', 'reviewer/20200715/2e795e938c34ac69c3f8b800fec711c8.zip', 0),
(2, 4, 1, 'Ph.D.', 'china', '我是很厉害的医生哦，选择我是没错的', '华西医院', 4, '洗牙', 'reviewer/20200715/a24a39430b32d9aa7d99e86e993a94f3.zip', 0),
(3, 5, 1, 'Associate Prof.', 'china', 'adsadasd', 'tegenolge', 4, 'sdadasdas', 'reviewer/20200716/e7753f71945298e93687c840cc014bbf.rar', 0),
(4, 6, 2, 'Assistant Prof.', 'china', 'dhjasvjvdsvjh', 'dsdsadsa', 1, 'dsadsa', 'reviewer/20200724/d1fb8e88706d90f0f82924ec8ec977f6.zip', 0);

--
-- 转储表的索引
--

--
-- 表的索引 `t_admin`
--
ALTER TABLE `t_admin`
  ADD PRIMARY KEY (`admin_id`);

--
-- 表的索引 `t_article`
--
ALTER TABLE `t_article`
  ADD PRIMARY KEY (`article_id`);

--
-- 表的索引 `t_article_author`
--
ALTER TABLE `t_article_author`
  ADD PRIMARY KEY (`art_aut_id`);

--
-- 表的索引 `t_article_file`
--
ALTER TABLE `t_article_file`
  ADD PRIMARY KEY (`file_id`);

--
-- 表的索引 `t_article_msg`
--
ALTER TABLE `t_article_msg`
  ADD PRIMARY KEY (`msg_id`);

--
-- 表的索引 `t_article_reviewer`
--
ALTER TABLE `t_article_reviewer`
  ADD PRIMARY KEY (`art_rev_id`);

--
-- 表的索引 `t_article_reviewer_file`
--
ALTER TABLE `t_article_reviewer_file`
  ADD PRIMARY KEY (`art_rev_file_id`);

--
-- 表的索引 `t_article_reviewer_question`
--
ALTER TABLE `t_article_reviewer_question`
  ADD PRIMARY KEY (`rev_qu_id`);

--
-- 表的索引 `t_journal`
--
ALTER TABLE `t_journal`
  ADD PRIMARY KEY (`journal_id`);

--
-- 表的索引 `t_reviewer_major`
--
ALTER TABLE `t_reviewer_major`
  ADD PRIMARY KEY (`major_id`);

--
-- 表的索引 `t_reviewer_to_journal`
--
ALTER TABLE `t_reviewer_to_journal`
  ADD PRIMARY KEY (`rtj_id`);

--
-- 表的索引 `t_user`
--
ALTER TABLE `t_user`
  ADD PRIMARY KEY (`user_id`);

--
-- 表的索引 `t_user_act`
--
ALTER TABLE `t_user_act`
  ADD PRIMARY KEY (`act_id`);

--
-- 表的索引 `t_user_log`
--
ALTER TABLE `t_user_log`
  ADD PRIMARY KEY (`log_id`);

--
-- 表的索引 `t_user_msg`
--
ALTER TABLE `t_user_msg`
  ADD PRIMARY KEY (`user_msg_id`);

--
-- 表的索引 `t_user_reviewer_apply`
--
ALTER TABLE `t_user_reviewer_apply`
  ADD PRIMARY KEY (`reviewer_id`);

--
-- 表的索引 `t_user_reviewer_info`
--
ALTER TABLE `t_user_reviewer_info`
  ADD PRIMARY KEY (`reviewer_info_id`);

--
-- 在导出的表使用AUTO_INCREMENT
--

--
-- 使用表AUTO_INCREMENT `t_admin`
--
ALTER TABLE `t_admin`
  MODIFY `admin_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=2;

--
-- 使用表AUTO_INCREMENT `t_article`
--
ALTER TABLE `t_article`
  MODIFY `article_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=12;

--
-- 使用表AUTO_INCREMENT `t_article_author`
--
ALTER TABLE `t_article_author`
  MODIFY `art_aut_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=23;

--
-- 使用表AUTO_INCREMENT `t_article_file`
--
ALTER TABLE `t_article_file`
  MODIFY `file_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=32;

--
-- 使用表AUTO_INCREMENT `t_article_msg`
--
ALTER TABLE `t_article_msg`
  MODIFY `msg_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=20;

--
-- 使用表AUTO_INCREMENT `t_article_reviewer`
--
ALTER TABLE `t_article_reviewer`
  MODIFY `art_rev_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=4;

--
-- 使用表AUTO_INCREMENT `t_article_reviewer_file`
--
ALTER TABLE `t_article_reviewer_file`
  MODIFY `art_rev_file_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=6;

--
-- 使用表AUTO_INCREMENT `t_article_reviewer_question`
--
ALTER TABLE `t_article_reviewer_question`
  MODIFY `rev_qu_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=2;

--
-- 使用表AUTO_INCREMENT `t_journal`
--
ALTER TABLE `t_journal`
  MODIFY `journal_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=23;

--
-- 使用表AUTO_INCREMENT `t_reviewer_major`
--
ALTER TABLE `t_reviewer_major`
  MODIFY `major_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=26;

--
-- 使用表AUTO_INCREMENT `t_reviewer_to_journal`
--
ALTER TABLE `t_reviewer_to_journal`
  MODIFY `rtj_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=5;

--
-- 使用表AUTO_INCREMENT `t_user`
--
ALTER TABLE `t_user`
  MODIFY `user_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=9;

--
-- 使用表AUTO_INCREMENT `t_user_act`
--
ALTER TABLE `t_user_act`
  MODIFY `act_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=2;

--
-- 使用表AUTO_INCREMENT `t_user_log`
--
ALTER TABLE `t_user_log`
  MODIFY `log_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=51;

--
-- 使用表AUTO_INCREMENT `t_user_msg`
--
ALTER TABLE `t_user_msg`
  MODIFY `user_msg_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=30;

--
-- 使用表AUTO_INCREMENT `t_user_reviewer_apply`
--
ALTER TABLE `t_user_reviewer_apply`
  MODIFY `reviewer_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=8;

--
-- 使用表AUTO_INCREMENT `t_user_reviewer_info`
--
ALTER TABLE `t_user_reviewer_info`
  MODIFY `reviewer_info_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=5;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
