有问题文章留言 看内容决定收费与免费
另外接收数据库质疑 勒索病毒数据恢复等项目。

取消门店查询其他门店流水权限

【问题描述】

门店流水查询时,可以选择其它的分店,如何取消这个权限,让只能查本店

【答】

请备份数据库后执行以下语句:

/*—————————————————————————————–
1.使用说明
  开启后:
  门店系统:前台流水查询不可以查询其它分店
2.风险
  无 
——————————————————————————————*/
–前台流水查询不可以查询其它分店
use issyytprov3
go

if not exists(select * from t_sys_system where sys_var_id=’flow_qry_oth_branch’ and branch_no=’000′)
begin
 insert into t_sys_system (sys_var_id,sys_var_name,sys_var_value,branch_no) values (‘flow_qry_oth_branch’,’前台流水查询可以查询其它分店’,’1′,’000′)
end
go
–停用
update t_sys_system set sys_var_value=’0′ where sys_var_id=’flow_qry_oth_branch’ and branch_no=’000′
go
请确认,感谢您的支持!

赞(0)
未经允许不得转载:思迅软件知识库 » 取消门店查询其他门店流水权限

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址