|
发表于 2017-6-27 09:25:30
|
显示全部楼层
本帖最后由 通达曾圆圆 于 2017-7-10 10:33 编辑
您好,根据报错信息的提示,您的crscell数据库里缺少crscell.crs_report;使用过报表的话,您可以根据之前的热备份数据 单独恢复热备份的 crscell库的crs_report表的数据;若您没使用过报表,建议您可以先到服务控制中心把下图的这三个库都热备份一下;之后使用数据库管理工具到数据库crscell 中运行该语句:CREATE TABLE IF NOT EXISTS `crs_report` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`repno` tinytext NOT NULL,
`repname` tinytext NOT NULL,
`kindid` int(10) unsigned DEFAULT NULL,
`type` varchar(100) DEFAULT NULL,
`statistype` text,
`mode` char(2) DEFAULT NULL,
`changemode` char(2) DEFAULT NULL,
`write_priv_organ` mediumtext,
`write_priv_role` mediumtext,
`read_priv_organ` mediumtext,
`read_priv_role` mediumtext,
`workflowid` int(10) unsigned DEFAULT NULL,
`detail_write_priv_id` int(10) unsigned DEFAULT NULL,
`detail_read_priv_id` int(10) unsigned DEFAULT NULL,
`cell` longblob,
`main_table_id` int(10) unsigned DEFAULT NULL,
`main_table_name` tinytext,
`detail_table_id` int(10) unsigned DEFAULT NULL,
`detail_table_name` tinytext,
`picturelist` tinytext,
`kid` varchar(200) DEFAULT NULL,
`isquery` char(2) DEFAULT NULL,
`canupload` char(2) DEFAULT NULL,
`cansave` char(2) DEFAULT NULL,
`isstop` char(2) DEFAULT NULL,
`orderno` int(11) DEFAULT NULL,
`cursor1` varchar(40) DEFAULT NULL,
`hiddengrid` char(2) DEFAULT NULL,
`canconsign` char(2) DEFAULT NULL,
`lockedcol` int(11) DEFAULT NULL,
`lockedrow` int(11) DEFAULT NULL,
`is_musttitle` char(2) DEFAULT NULL,
`hiddenwrite` char(2) DEFAULT NULL,
`hiddencontent` char(2) DEFAULT NULL,
`caneditref` char(2) DEFAULT NULL,
`canrollback` char(2) DEFAULT NULL,
`showzerovalue` char(2) DEFAULT NULL,
`noallowclone` char(2) DEFAULT NULL,
`keepwritetime` char(2) DEFAULT NULL,
`personasunit` char(2) DEFAULT NULL,
`is_subrep` char(2) DEFAULT NULL,
`sheet_sz` int(11) DEFAULT NULL,
`noallowfrozen` char(2) DEFAULT NULL,
`myhome` char(1) DEFAULT NULL,
`support_html_rep` char(1) DEFAULT NULL,
`pw` varchar(40) NOT NULL,
`auto_height` char(2) DEFAULT NULL,
`title_schema` text,
`subtitle_schema` text,
`has_inline_calcu` char(2) DEFAULT NULL,
`datasetid` int(11) DEFAULT NULL,
`f_cols` text,
`x_cols` text,
`y_cols` text,
`d_cols` text,
`create_time` date DEFAULT NULL,
`update_time` date DEFAULT NULL,
`isbasic` char(1) DEFAULT NULL,
`noimportdata` char(1) DEFAULT NULL,
`save_silent` char(1) DEFAULT NULL,
`sms_link_to_list` char(1) DEFAULT NULL,
`using_bpm` char(1) DEFAULT NULL,
`module_url` varchar(255) DEFAULT NULL,
`tittle_can_be_edited` char(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=gbk AUTO_INCREMENT=144 ;
新创建crs_report表
|
-
|