【问题描述】
在销售界面—其他—选择项中缺少“助记码”功能。重装软件无效,所有门店均是该情况。
【问题答案】
请核实,是数据库表中缺少对应数据导致,且缺少的数据不止这一条,需将正常库中对应表的数据插入到客户数据库对应表中。
按照以下步骤处理:
1、数据正常的领鲜8备份的数据库备份还原到客户服务器上。(如重命名未bb)
2、在查询分析器中执行以下语句:
USE bb
go
— 查询出缺少的数据,并插入临时表
select branch_no,func_id,func_name,func_udname,pos_key,flag,type,memo,other1,sort_id,id_default into a from t_rm_function
where func_id not in(select func_id from SXPosv8..t_rm_function)
use SXPosv8
go
–将临时表中输入插入到客户数据库中
insert into t_rm_function (branch_no,func_id,func_name,func_udname,pos_key,flag,type,memo,other1,sort_id,id_default)
(select branch_no,func_id,func_name,func_udname,pos_key,flag,type,memo,other1,sort_id,id_default from bb..a)