|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622 。
您需要 登录 才可以下载或查看,没有帐号?注册
x
本帖最后由 readfor 于 2012/1/9 13:53 编辑
SELECT GSPUSER.CODE AS'用户编号',GSPUSER.NAME AS '用户名称',GSPPOSITION.NAME AS'岗位名称',
GSPROLE.NAME AS'职责名称',GSPBIZOBJECTOP.name AS '功能名称'
FROM GSPUSER join GSPUSERASS
on GSPUSER.ID=GSPUSERASS.USERID and gspuser.state<>'0' and ( gspuser.validto is NULL or gspuser.validto>'20120105')
join GSPPOSITION
on GSPUSERASS.positionid=GSPPOSITION.id and GSPPOSITION.name like '%上海%'
join GSPPOSASS
on GSPUSERASS.POSITIONID=GSPPOSASS.POSITIONID
join gsprole
on GSPROLE.ID=GSPPOSASS.ROLEID
join gsproleass
on gsproleass.roleid=gsprole.id
join gspbizobjectop
on gsproleass.bizopid=gspbizobjectop.id
order by 用户编号,岗位名称,职责名称,功能名称 |
|