use isszmv9 go delete from t_sys_operator where oper_id='1001' delete from t_sys_oper_grant where oper_id='1001' delete from t_sys_data_grant where oper_id='1001' go INSERT INTO t_sys_operator ( oper_id, oper_name, oper_status, oper_type, oper_pw, output_rate,branch_no, data_grant,area_manager,charge) VALUES ( '1001', '1001', '正常', '用户', '30.-', 0.00,'全部', '0' ,'0','1') insert t_sys_oper_grant (oper_id,func_id,grant0,grant1,grant2,grant3,grant4,grant5,grant6,grant7,grant8,grant9) select '1001',menu_id,'1','1','1','1','1','1','1','1','1','1' from t_sys_menu insert t_sys_data_grant(oper_id,item_clsno,data_grant,grant_type) select Distinct '1001',left(item_clsno,2),'1','0' from t_bd_item_cls UPDATE t_sys_operator SET cash_grant = '111111111111111111111111111111', price_grant = '11111' WHERE oper_id = '1001' --重建后可到操作员管理中修改该操作员的区域经理为否,注意选择一个区域名称,该处不能为空,若是其他操作员,可使用1001登录后重新设置该操作员的密码后门店再联网登录前台pos试试!