|
|
@@ -1042,6 +1042,7 @@ func (this *OilSupplierCertController) IsAccess() {
|
|
|
svc.GetEntity(&setting, where)
|
|
|
res = svc.UserInRoleById(this.User.Id, strconv.Itoa(setting.RoleId))
|
|
|
} else {
|
|
|
+ // TODO 单独检查交费用户的按钮权限 当前用户是否和创建人相同
|
|
|
//var users []suppliercert.UserList
|
|
|
//where := "OrganizeId=" + this.User.DepartmentId + " and AuditStepCode='" + auditstepcode + "'"
|
|
|
//rsvc.GetEntitysByWhere(OilAuditSettingName,where, &users)
|