批准,拒绝和待处理按钮的代码 [英] code for approve, reject and pending button
本文介绍了批准,拒绝和待处理按钮的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
所以你需要为每个用户类型维护角色类型。
你可以定义一个具有RoleId和RoleName的角色表。在这里,您可以定义诸如Requestor,Manager和Security之类的名称。
可以通过直接在Users表中添加一个新列来映射id ,它将从Role表存储RoleId,或者将另一个表UserRoles与UserId和RoleId列存储。
hi, i'm doin a approval project. i give a little bit briefing about my project. A requestor request to approve a application. the manager and security need to approve that request. actuall i do know how to code for the pending, approve and reject button. can someone help me to solve this problem. tq
解决方案
So you need to maintain role type for each user type.
You can define a Role table with RoleId and RoleName. Here you define the name such as "Requestor", "Manager" and "Security".
The id can be mapped by directly having one new column Role in Users table, which will store the RoleId from Role table or having another table UserRoles with UserId and RoleId columns.
这篇关于批准,拒绝和待处理按钮的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文