/*
MySQL Data Transfer
Source Host: localhost
Source Database: kis
Target Host: localhost
Target Database: kis
Date: 2012-4-7 11:09:12
*/

SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for tb_dept
-- ----------------------------
DROP TABLE IF EXISTS `tb_dept`;
CREATE TABLE `tb_dept` (
  `dept_id` int(11) NOT NULL,
  `dept_name` varchar(36) NOT NULL,
  `dept_desc` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_flow
-- ----------------------------
DROP TABLE IF EXISTS `tb_flow`;
CREATE TABLE `tb_flow` (
  `flow_id` int(11) NOT NULL,
  `flow_name` varchar(36) NOT NULL,
  `flow_desc` varchar(128) DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  `update_time` datetime DEFAULT NULL,
  PRIMARY KEY (`flow_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_flow_action
-- ----------------------------
DROP TABLE IF EXISTS `tb_flow_action`;
CREATE TABLE `tb_flow_action` (
  `action_id` int(11) NOT NULL,
  `flow_id` int(11) NOT NULL,
  `chart_action_id` varchar(255) NOT NULL,
  `action_name` varchar(36) NOT NULL,
  `action_title` varchar(36) DEFAULT NULL,
  `src_status` varchar(255) NOT NULL,
  `dst_status` varchar(255) NOT NULL,
  `points` text NOT NULL,
  `coord_left` int(11) NOT NULL,
  `coord_top` int(11) NOT NULL,
  PRIMARY KEY (`action_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_flow_status
-- ----------------------------
DROP TABLE IF EXISTS `tb_flow_status`;
CREATE TABLE `tb_flow_status` (
  `status_id` int(11) NOT NULL,
  `flow_id` int(11) NOT NULL,
  `chart_state_id` varchar(255) NOT NULL,
  `state_name` varchar(36) NOT NULL,
  `state_type` int(11) NOT NULL,
  `state_title` varchar(36) DEFAULT NULL,
  `coord_left` int(11) NOT NULL,
  `coord_top` int(11) NOT NULL,
  PRIMARY KEY (`status_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_issue
-- ----------------------------
DROP TABLE IF EXISTS `tb_issue`;
CREATE TABLE `tb_issue` (
  `issue_id` int(11) NOT NULL,
  `parent_issue_id` int(11) DEFAULT '0',
  `issue_type_id` int(11) DEFAULT NULL,
  `project_id` int(11) DEFAULT NULL,
  `issue_title` varchar(255) DEFAULT NULL,
  `issue_content` text,
  `status_id` int(11) DEFAULT NULL,
  `create_user` int(11) DEFAULT NULL,
  `process_user` int(11) DEFAULT '0',
  `module_id` int(11) DEFAULT '0',
  `pripority_id` int(11) DEFAULT '0',
  `serverity_id` int(11) DEFAULT '0',
  `solution_id` int(11) DEFAULT '0',
  `is_close` int(11) DEFAULT '0',
  `create_time` datetime DEFAULT NULL,
  `close_time` datetime DEFAULT NULL,
  `exp_time` datetime DEFAULT NULL,
  `is_delete` int(11) DEFAULT '0',
  PRIMARY KEY (`issue_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_issue_action_user
-- ----------------------------
DROP TABLE IF EXISTS `tb_issue_action_user`;
CREATE TABLE `tb_issue_action_user` (
  `action_code` int(11) NOT NULL,
  `issue_id` int(11) NOT NULL,
  `status_id` int(11) NOT NULL,
  `action_user_id` int(11) NOT NULL,
  `action_id` int(11) DEFAULT '0',
  `action_time` datetime DEFAULT NULL,
  PRIMARY KEY (`action_code`,`issue_id`,`status_id`,`action_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_issue_attach
-- ----------------------------
DROP TABLE IF EXISTS `tb_issue_attach`;
CREATE TABLE `tb_issue_attach` (
  `attach_id` int(11) NOT NULL,
  `issue_id` int(11) DEFAULT '0',
  `log_id` int(11) DEFAULT '0',
  `attach_name` varchar(36) DEFAULT NULL,
  `attach_type` varchar(36) DEFAULT NULL,
  `file_name` varchar(36) DEFAULT NULL,
  `file_size` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  PRIMARY KEY (`attach_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_issue_comment
-- ----------------------------
DROP TABLE IF EXISTS `tb_issue_comment`;
CREATE TABLE `tb_issue_comment` (
  `comment_id` int(11) NOT NULL,
  `issue_id` int(11) DEFAULT NULL,
  `issue_comment` text,
  `user_id` int(11) DEFAULT NULL,
  `comment_time` datetime DEFAULT NULL,
  PRIMARY KEY (`comment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_issue_log
-- ----------------------------
DROP TABLE IF EXISTS `tb_issue_log`;
CREATE TABLE `tb_issue_log` (
  `log_id` int(11) NOT NULL,
  `issue_id` int(11) NOT NULL,
  `status_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `action_id` int(11) DEFAULT NULL,
  `work_log` text,
  `work_time` datetime DEFAULT NULL,
  PRIMARY KEY (`log_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project
-- ----------------------------
DROP TABLE IF EXISTS `tb_project`;
CREATE TABLE `tb_project` (
  `project_id` int(11) NOT NULL,
  `project_name` varchar(36) NOT NULL,
  `project_code` varchar(6) NOT NULL,
  `project_status` int(11) DEFAULT '1',
  `project_desc` varchar(128) DEFAULT NULL,
  `create_time` datetime DEFAULT NULL,
  PRIMARY KEY (`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_field_edit
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_field_edit`;
CREATE TABLE `tb_project_field_edit` (
  `issue_type_id` int(11) NOT NULL,
  `action_id` int(11) NOT NULL,
  `field_id` int(11) NOT NULL,
  `edit_rule` int(11) NOT NULL,
  PRIMARY KEY (`issue_type_id`,`action_id`,`field_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_fields
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_fields`;
CREATE TABLE `tb_project_fields` (
  `field_id` int(11) NOT NULL,
  `project_id` int(11) DEFAULT NULL,
  `field_title` varchar(36) NOT NULL,
  `is_system` int(11) DEFAULT NULL,
  `field_len` int(11) DEFAULT '20',
  `field_type` int(11) NOT NULL DEFAULT '0',
  `field_width` int(11) DEFAULT '20',
  `field_height` int(11) DEFAULT NULL,
  `field_option` text,
  `field_default` text,
  `field_style` text,
  `field_order` int(11) DEFAULT NULL,
  `field_cols` int(11) DEFAULT NULL,
  `is_query` int(11) DEFAULT '0',
  `field_desc` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`field_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_group
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_group`;
CREATE TABLE `tb_project_group` (
  `group_id` int(11) NOT NULL,
  `project_id` int(11) DEFAULT NULL,
  `group_name` varchar(36) NOT NULL,
  `group_grade` int(11) DEFAULT NULL,
  `group_desc` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_group_member
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_group_member`;
CREATE TABLE `tb_project_group_member` (
  `group_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`group_id`,`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_issue_type
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_issue_type`;
CREATE TABLE `tb_project_issue_type` (
  `issue_type_id` int(11) NOT NULL,
  `project_id` int(11) DEFAULT NULL,
  `flow_id` int(11) DEFAULT NULL,
  `issue_type_name` varchar(36) NOT NULL,
  `issue_type_desc` varchar(128) DEFAULT NULL,
  PRIMARY KEY (`issue_type_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_module
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_module`;
CREATE TABLE `tb_project_module` (
  `module_id` int(11) NOT NULL,
  `parent_module_id` int(11) DEFAULT NULL,
  `project_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `module_name` varchar(36) DEFAULT NULL,
  `module_desc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`module_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_version
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_version`;
CREATE TABLE `tb_project_version` (
  `Build_id` int(11) NOT NULL,
  `Project_id` int(11) NOT NULL,
  `Server_version` varchar(255) NOT NULL,
  `Client_version_min` varchar(255) NOT NULL,
  `Client_version_max` varchar(255) NOT NULL,
  `Version_log` text,
  `Svn_version` int(11) DEFAULT NULL,
  `Complie_state` int(11) DEFAULT '0',
  `Comlie_user` int(11) DEFAULT NULL,
  `Comlie_time` datetime DEFAULT NULL,
  `Complie_log` text,
  `Recursive_issue` int(11) DEFAULT NULL,
  `Recursive_state` int(11) DEFAULT '0',
  `Release_state` int(11) DEFAULT '0',
  `Release_user` int(11) DEFAULT NULL,
  `Release_time` datetime DEFAULT NULL,
  `Release_log` text,
  PRIMARY KEY (`Build_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_project_worker
-- ----------------------------
DROP TABLE IF EXISTS `tb_project_worker`;
CREATE TABLE `tb_project_worker` (
  `issue_type_id` int(11) NOT NULL,
  `action_id` int(11) NOT NULL,
  `member_type` int(11) NOT NULL,
  `member_id` int(11) NOT NULL,
  PRIMARY KEY (`issue_type_id`,`action_id`,`member_type`,`member_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_query_view
-- ----------------------------
DROP TABLE IF EXISTS `tb_query_view`;
CREATE TABLE `tb_query_view` (
  `query_id` int(11) NOT NULL,
  `query_name` varchar(36) DEFAULT NULL,
  `query_type` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `project_id` int(11) DEFAULT NULL,
  `module_id` int(11) DEFAULT NULL,
  `query_str` varchar(255) DEFAULT NULL,
  `query_field` int(11) DEFAULT NULL,
  `query_property` int(11) DEFAULT NULL,
  `query_date` int(11) DEFAULT NULL,
  `issue_type` int(11) DEFAULT NULL,
  `issue_status` int(11) DEFAULT NULL,
  `serverity` int(11) DEFAULT NULL,
  `priority` int(11) DEFAULT NULL,
  `create_user` varchar(36) DEFAULT NULL,
  `process_user` varchar(36) DEFAULT NULL,
  `create_date_begin` date DEFAULT NULL,
  `create_date_end` date DEFAULT NULL,
  `close_date_begin` date DEFAULT NULL,
  `close_date_end` date DEFAULT NULL,
  PRIMARY KEY (`query_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_role
-- ----------------------------
DROP TABLE IF EXISTS `tb_role`;
CREATE TABLE `tb_role` (
  `role_id` int(11) NOT NULL,
  `role_grade` int(11) NOT NULL,
  `role_name` varchar(36) NOT NULL,
  `role_desc` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for tb_user
-- ----------------------------
DROP TABLE IF EXISTS `tb_user`;
CREATE TABLE `tb_user` (
  `user_id` int(11) NOT NULL,
  `user_name` varchar(255) NOT NULL,
  `user_pwd` varchar(20) NOT NULL,
  `dept_id` int(11) NOT NULL,
  `role_id` int(11) NOT NULL,
  `real_name` varchar(36) NOT NULL,
  `email` varchar(36) NOT NULL,
  `ip` varchar(32) DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `state` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0: 无效 1: 有效',
  `create_time` datetime DEFAULT NULL COMMENT '建创时间',
  `exp_time` datetime DEFAULT NULL COMMENT '失效时间',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records 
-- ----------------------------
INSERT INTO `tb_dept` VALUES ('1', '程序部', '负责程序开发');
INSERT INTO `tb_dept` VALUES ('2', '策划部', '负责游戏内容策划');
INSERT INTO `tb_dept` VALUES ('3', '美术部', '负责美术设计');
INSERT INTO `tb_dept` VALUES ('4', '管理部', '');
INSERT INTO `tb_dept` VALUES ('5', '音效', '');
INSERT INTO `tb_flow` VALUES ('1', 'BUG跟踪', null, '2012-02-22 14:41:08', '2012-03-01 15:08:57');
INSERT INTO `tb_flow` VALUES ('2', '功能需求', null, '2012-02-22 14:48:16', '2012-03-09 17:12:17');
INSERT INTO `tb_flow` VALUES ('3', '工作任务', null, '2012-02-22 15:28:33', null);
INSERT INTO `tb_flow` VALUES ('4', 'BUG简单处理', null, '2012-02-22 15:37:22', '2012-03-01 15:21:12');
INSERT INTO `tb_flow` VALUES ('5', '回归测试', null, '2012-03-06 17:25:06', null);
INSERT INTO `tb_flow_action` VALUES ('1', '1', 'action_0', '提交', '', 'state_0', 'state_1', '40,0 170,0', '106', '226');
INSERT INTO `tb_flow_action` VALUES ('2', '1', 'action_1', '分配', '', 'state_1', 'state_2', '40,0 197,0', '316', '226');
INSERT INTO `tb_flow_action` VALUES ('3', '1', 'action_2', '解决', '', 'state_2', 'state_3', '40,0 182,1', '553', '225');
INSERT INTO `tb_flow_action` VALUES ('4', '1', 'action_3', '通过', '', 'state_3', 'state_4', '0,20 0.01,171', '775', '227');
INSERT INTO `tb_flow_action` VALUES ('5', '1', 'action_4', '指派', '', 'state_0', 'state_2', '0,-20 0,-118 450,-111 447,-21', '106', '226');
INSERT INTO `tb_flow_action` VALUES ('6', '1', 'action_5', '拒绝', '', 'state_2', 'state_1', '0,20 -1,101 -245,106 -244,21', '553', '225');
INSERT INTO `tb_flow_action` VALUES ('7', '1', 'action_6', '重新处理', '', 'state_3', 'state_2', '-6,-20 -6,-70 -234,-74 -233,-22', '775', '227');
INSERT INTO `tb_flow_action` VALUES ('8', '1', 'action_7', '取消', '', 'state_1', 'state_4', '0,20 1,42 5,185 419,191.39', '316', '226');
INSERT INTO `tb_flow_action` VALUES ('9', '2', 'action_0', '提交', '', 'state_0', 'state_1', 'NaN,NaN 40,0 200,0', '96', '191');
INSERT INTO `tb_flow_action` VALUES ('10', '2', 'action_1', '评审', '', 'state_1', 'state_2', 'NaN,NaN 40,0 190,2', '336', '192');
INSERT INTO `tb_flow_action` VALUES ('13', '3', 'action_0', '布置任务', '', 'state_0', 'state_1', ' 40,0.34 197,0.87', '100', '162');
INSERT INTO `tb_flow_action` VALUES ('14', '3', 'action_1', '解决', '', 'state_1', 'state_2', ' 40,0 174,0', '337', '163');
INSERT INTO `tb_flow_action` VALUES ('15', '3', 'action_2', '通过', '', 'state_2', 'state_3', ' 40,0.18 181,0.86', '551', '163');
INSERT INTO `tb_flow_action` VALUES ('16', '3', 'action_3', '取消', '', 'state_2', 'state_4', ' 0,20 0,145 185,145', '551', '163');
INSERT INTO `tb_flow_action` VALUES ('17', '3', 'action_4', '重新处理', '', 'state_2', 'state_1', ' 0,-20 0,-64 -215,-64 -215.58,-20', '551', '163');
INSERT INTO `tb_flow_action` VALUES ('18', '4', 'action_0', '提交', '', 'state_0', 'state_1', '40,0 228,0', '230', '141');
INSERT INTO `tb_flow_action` VALUES ('20', '4', 'action_3', '解决', '', 'state_1', 'state_3', 'NaN,NaN 40,0 157,-2', '498', '140');
INSERT INTO `tb_flow_action` VALUES ('21', '4', 'action_4', '通过', '', 'state_3', 'state_2', 'NaN,NaN 40,0 128,0', '695', '137');
INSERT INTO `tb_flow_action` VALUES ('22', '4', 'action_5', '重新处理', '', 'state_3', 'state_1', 'NaN,NaN 0,-20 1,-49 -194,-50 -195,-17', '695', '137');
INSERT INTO `tb_flow_action` VALUES ('23', '1', 'action_8', '转交', '', 'state_1', 'state_1', 'NaN,NaN 0,20 0,40 80,40 80,0 40,0', '316', '226');
INSERT INTO `tb_flow_action` VALUES ('24', '5', 'action_0', '建立', '', 'state_0', 'state_1', '40,0 168,0', '85', '179');
INSERT INTO `tb_flow_action` VALUES ('25', '5', 'action_1', '分配', '', 'state_1', 'state_2', '40,0.56 174,2.44', '293', '179');
INSERT INTO `tb_flow_action` VALUES ('26', '5', 'action_2', '测试通过', '', 'state_2', 'state_3', '40,-0.37 174,-1.63', '507', '182');
INSERT INTO `tb_flow_action` VALUES ('27', '5', 'action_3', '测试失败', '', 'state_2', 'state_4', '0.26,20 0,135 183,135.89', '507', '182');
INSERT INTO `tb_flow_action` VALUES ('28', '2', 'action_4', '执行', '', 'state_2', 'state_5', '40,-17 126,-54', '566', '195');
INSERT INTO `tb_flow_action` VALUES ('29', '2', 'action_7', '解决', '', 'state_5', 'state_6', '40,0 142,0', '732', '123');
INSERT INTO `tb_flow_action` VALUES ('30', '2', 'action_8', '通过', '', 'state_6', 'state_3', '-2.6,20 -18.38,141', '914', '124');
INSERT INTO `tb_flow_action` VALUES ('32', '2', 'action_10', '重新处理', '', 'state_6', 'state_5', '3,-20 3,-76 -176,-76 -176,-21', '914', '124');
INSERT INTO `tb_flow_action` VALUES ('33', '2', 'action_11', '取消', '', 'state_2', 'state_7', '40,17 146,63', '566', '195');
INSERT INTO `tb_flow_status` VALUES ('1', '1', 'state_0', '新建', '1', '', '66', '206');
INSERT INTO `tb_flow_status` VALUES ('2', '1', 'state_1', '待分配', '2', '', '276', '206');
INSERT INTO `tb_flow_status` VALUES ('3', '1', 'state_2', '处理', '3', '', '513', '205');
INSERT INTO `tb_flow_status` VALUES ('4', '1', 'state_3', '待验证', '5', '', '735', '207');
INSERT INTO `tb_flow_status` VALUES ('5', '1', 'state_4', '关闭', '0', '', '735', '398');
INSERT INTO `tb_flow_status` VALUES ('6', '2', 'state_0', '新建', '1', '', '56', '171');
INSERT INTO `tb_flow_status` VALUES ('7', '2', 'state_1', '审核中', '4', '', '296', '172');
INSERT INTO `tb_flow_status` VALUES ('8', '2', 'state_2', '未执行', '2', '', '526', '175');
INSERT INTO `tb_flow_status` VALUES ('9', '2', 'state_3', '关闭', '0', '', '853', '265');
INSERT INTO `tb_flow_status` VALUES ('11', '3', 'state_0', '新建', '1', '', '60', '142');
INSERT INTO `tb_flow_status` VALUES ('12', '3', 'state_1', '处理', '3', '', '297', '143');
INSERT INTO `tb_flow_status` VALUES ('13', '3', 'state_2', '验收', '5', '', '511', '143');
INSERT INTO `tb_flow_status` VALUES ('14', '3', 'state_3', '完成', '0', '', '732', '144');
INSERT INTO `tb_flow_status` VALUES ('15', '3', 'state_4', '取消', '0', '', '736', '288');
INSERT INTO `tb_flow_status` VALUES ('16', '4', 'state_0', '新建', '1', '', '190', '121');
INSERT INTO `tb_flow_status` VALUES ('17', '4', 'state_1', '处理', '3', '', '458', '120');
INSERT INTO `tb_flow_status` VALUES ('18', '4', 'state_2', '关闭', '0', '', '823', '117');
INSERT INTO `tb_flow_status` VALUES ('19', '4', 'state_3', '验证', '5', '', '655', '117');
INSERT INTO `tb_flow_status` VALUES ('20', '5', 'state_0', '新建', '1', '', '45', '159');
INSERT INTO `tb_flow_status` VALUES ('21', '5', 'state_1', '待分配', '2', '', '253', '159');
INSERT INTO `tb_flow_status` VALUES ('22', '5', 'state_2', '待测试', '3', '', '467', '162');
INSERT INTO `tb_flow_status` VALUES ('23', '5', 'state_3', '成功', '0', '', '681', '160');
INSERT INTO `tb_flow_status` VALUES ('24', '5', 'state_4', '失败', '0', '', '690', '295');
INSERT INTO `tb_flow_status` VALUES ('25', '2', 'state_5', '处理', '3', '', '692', '103');
INSERT INTO `tb_flow_status` VALUES ('26', '2', 'state_6', '检验', '5', '', '874', '104');
INSERT INTO `tb_flow_status` VALUES ('27', '2', 'state_7', '取消', '0', '', '712', '256');
INSERT INTO `tb_issue` VALUES ('1', '0', '1', '1', '登录出现错误', '<strong><span style=\"color:#006600;\">在不同的浏览器下面登录不正常 建议多用几种浏览器测试</span></strong>', '17', '1', '0', '2', '0', '0', '0', '0', '2012-04-07 11:08:11', null, '0000-00-00 00:00:00', '0');
INSERT INTO `tb_issue_action_user` VALUES ('1', '1', '17', '1', '0', '2012-04-07 11:08:11');
INSERT INTO `tb_project` VALUES ('1', 'KisProject', 'Kis', '1', '项目管理软件', '2012-04-07 10:59:50');
INSERT INTO `tb_project_group` VALUES ('1', '1', '测试组', '3', '');
INSERT INTO `tb_project_group` VALUES ('2', '1', '开发组', '63', '');
INSERT INTO `tb_project_group_member` VALUES ('1', '1');
INSERT INTO `tb_project_group_member` VALUES ('1', '2');
INSERT INTO `tb_project_group_member` VALUES ('2', '1');
INSERT INTO `tb_project_issue_type` VALUES ('1', '1', '4', 'BUG', '软件BUG');
INSERT INTO `tb_project_issue_type` VALUES ('2', '1', '2', '改进建议', '');
INSERT INTO `tb_project_module` VALUES ('0', '0', '0', '0', '未定义模块', '');
INSERT INTO `tb_project_module` VALUES ('1', '0', '1', '1', '程序界面', '');
INSERT INTO `tb_project_module` VALUES ('2', '0', '1', '1', '软件功能', '');
INSERT INTO `tb_project_worker` VALUES ('1', '18', '0', '1');
INSERT INTO `tb_project_worker` VALUES ('1', '18', '0', '2');
INSERT INTO `tb_project_worker` VALUES ('1', '20', '0', '1');
INSERT INTO `tb_project_worker` VALUES ('1', '21', '0', '2');
INSERT INTO `tb_project_worker` VALUES ('1', '22', '0', '1');
INSERT INTO `tb_project_worker` VALUES ('2', '9', '1', '1');
INSERT INTO `tb_project_worker` VALUES ('2', '10', '0', '1');
INSERT INTO `tb_project_worker` VALUES ('2', '28', '1', '1');
INSERT INTO `tb_project_worker` VALUES ('2', '29', '0', '1');
INSERT INTO `tb_project_worker` VALUES ('2', '30', '0', '2');
INSERT INTO `tb_project_worker` VALUES ('2', '32', '0', '2');
INSERT INTO `tb_project_worker` VALUES ('2', '33', '0', '1');
INSERT INTO `tb_role` VALUES ('1', '15', '系统管理员', '具有所有的操作权限');
INSERT INTO `tb_role` VALUES ('2', '1', '普通用户', '');
INSERT INTO `tb_role` VALUES ('3', '2', '用户管理', '');
INSERT INTO `tb_user` VALUES ('1', 'admin', 'passwd', '1', '1', '系统管理', '', '', '', '', '1', '0000-00-00 00:00:00', null);
INSERT INTO `tb_user` VALUES ('2', 'test', 'test', '1', '2', '测试用户', '', '', '', '', '1', '0000-00-00 00:00:00', null);
